Coverage Report

Created: 2021-04-14 19:30

/home/liu/buildslave/linux-x64-runtests/build/lib/nnc/ccv_nnc_easy.h
Line
Count
Source (jump to first uncovered line)
1
/**********************************************************
2
 * C-based/Cached/Core Computer Vision Library
3
 * Liu Liu, 2010-02-01
4
 **********************************************************/
5
6
/**********************************************************
7
 * CCV - Neural Network Collection
8
 **********************************************************/
9
10
#ifndef GUARD_ccv_nnc_easy_h
11
#define GUARD_ccv_nnc_easy_h
12
13
#include "ccv.h"
14
#include "ccv_internal.h"
15
#include "nnc/ccv_nnc.h"
16
17
/**
18
 * Convenience API
19
 *
20
 * This header provides convenience APIs for nnc usage. Being convenience API,
21
 * it is optimized for shorthand coding, and may collide the naming space with
22
 * others.
23
 *
24
 */
25
// c99 only, make sure your compiler supports that.
26
27
2
#define NOOP_GRAPH_WHILE_EXPR (ccv_nnc_graph_while_f)(1)
28
1
#define NOOP_GRAPH_CASE_OF_EXPR (ccv_nnc_graph_case_of_f)(1)
29
30
// This is a better LIST_COUNT macro, it generates a list of 1+1+0+0+0 where it is 1 if the parameter presents, and 0 otherwise.
31
// This works better for cases such as LIST_COUNT(1, 2, 3,) where previous macro will get 4 and this one will have correctly
32
// computed result.
33
6.22M
#define LIST_COUNT_01(_0,_1,_2,...) _2
34
6.22M
#define LIST_COUNT_E(...) LIST_COUNT_01(_0,##__VA_ARGS__,1,0)
35
97.2k
#define LIST_COUNT_N(_0,_1,_2,_3,_4,_5,_6,_7,_8,_9,_10,_11,_12,_13,_14,_15,_16,_17,_18,_19,_20,_21,_22,_23,_24,_25,_26,_27,_28,_29,_30,_31,_32,_33,_34,_35,_36,_37,_38,_39,_40,_41,_42,_43,_44,_45,_46,_47,_48,_49,_50,_51,_52,_53,_54,_55,_56,_57,_58,_59,_60,_61,_62,_63,...) (LIST_COUNT_E(_0)+LIST_COUNT_E(_1)+LIST_COUNT_E(_2)+LIST_COUNT_E(_3)+LIST_COUNT_E(_4)+LIST_COUNT_E(_5)+LIST_COUNT_E(_6)+LIST_COUNT_E(_7)+LIST_COUNT_E(_8)+LIST_COUNT_E(_9)+LIST_COUNT_E(_10)+LIST_COUNT_E(_11)+LIST_COUNT_E(_12)+LIST_COUNT_E(_13)+LIST_COUNT_E(_14)+LIST_COUNT_E(_15)+LIST_COUNT_E(_16)+LIST_COUNT_E(_17)+LIST_COUNT_E(_18)+LIST_COUNT_E(_19)+LIST_COUNT_E(_20)+LIST_COUNT_E(_21)+LIST_COUNT_E(_22)+LIST_COUNT_E(_23)+LIST_COUNT_E(_24)+LIST_COUNT_E(_25)+LIST_COUNT_E(_26)+LIST_COUNT_E(_27)+LIST_COUNT_E(_28)+LIST_COUNT_E(_29)+LIST_COUNT_E(_30)+LIST_COUNT_E(_31)+LIST_COUNT_E(_32)+LIST_COUNT_E(_33)+LIST_COUNT_E(_34)+LIST_COUNT_E(_35)+LIST_COUNT_E(_36)+LIST_COUNT_E(_37)+LIST_COUNT_E(_38)+LIST_COUNT_E(_39)+LIST_COUNT_E(_40)+LIST_COUNT_E(_41)+LIST_COUNT_E(_42)+LIST_COUNT_E(_43)+LIST_COUNT_E(_44)+LIST_COUNT_E(_45)+LIST_COUNT_E(_46)+LIST_COUNT_E(_47)+LIST_COUNT_E(_48)+LIST_COUNT_E(_49)+LIST_COUNT_E(_50)+LIST_COUNT_E(_51)+LIST_COUNT_E(_52)+LIST_COUNT_E(_53)+LIST_COUNT_E(_54)+LIST_COUNT_E(_55)+LIST_COUNT_E(_56)+LIST_COUNT_E(_57)+LIST_COUNT_E(_58)+LIST_COUNT_E(_59)+LIST_COUNT_E(_60)+LIST_COUNT_E(_61)+LIST_COUNT_E(_62)+LIST_COUNT_E(_63)-1)
36
97.2k
#define LIST_COUNT(...) LIST_COUNT_N(_0,##__VA_ARGS__,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,)
37
38
95.5k
#define LIST_X(_type, ...) (_type []){
__VA_ARGS__5
}
39
40
#define KV_X_2(_x, _y, ...) {(_x), (_y)}
41
#define KV_X_1(_x, ...) {(_x)}
42
#define KV_X_SEL(_1, _2, _FX, ...) _FX
43
#define KV(...) KV_X_SEL(__VA_ARGS__, KV_X_2, KV_X_1)(__VA_ARGS__)
44
45
140
#define LIST_SIZEOF_COUNT(_type, ...) (sizeof(LIST_X(_type, __VA_ARGS__)) / sizeof(_type))
46
47
/**
48
 * @defgroup convenience_api Convenience API
49
 * @{
50
 */
51
/**
52
 * Pass a list of tensors to NNC functions that accepts (tensor array, tensor array size).
53
 * This method effectively gives two parameters as one.
54
 */
55
36.2k
#define TENSOR_LIST(...) LIST_X(ccv_nnc_tensor_t*, __VA_ARGS__), LIST_COUNT(__VA_ARGS__)
56
/**
57
 * Pass a list of tensor parameters to NNC functions that accepts (parameter array, parameter array size).
58
 * This method effectively gives two parameters as one.
59
 */
60
35
#define TENSOR_PARAM_LIST(...) LIST_X(const ccv_nnc_tensor_param_t, __VA_ARGS__), LIST_COUNT(__VA_ARGS__)
61
/**
62
 * This represents a tensor symbol that is empty (tensor = nil)
63
 */
64
81.8k
#define NO_TENSOR_SYMBOL (const ccv_nnc_tensor_symbol_t){.d = CCV_NNC_NO_TENSOR_SYMBOL}
65
/**
66
 * This represents a graph exec symbol that is empty (exec = nil)
67
 */
68
102
#define NO_GRAPH_EXEC_SYMBOL (const ccv_nnc_graph_exec_symbol_t){.d = CCV_NNC_NO_GRAPH_EXEC_SYMBOL}
69
/**
70
 * Pass a list of tensor symbols to NNC functions that accepts (tensor symbol array, tensor symbol array size).
71
 * This method effectively gives two parameters as one.
72
 */
73
6.53k
#define TENSOR_SYMBOL_LIST(...) LIST_X(const ccv_nnc_tensor_symbol_t, __VA_ARGS__), LIST_COUNT(__VA_ARGS__)
74
/**
75
 * Pass a list of tensor variables to NNC functions that accepts (tensor variable array, tensor variable array size).
76
 * This method effectively gives two parameters as one.
77
 */
78
46.4k
#define TENSOR_VARIABLE_LIST(...) LIST_X(ccv_nnc_tensor_variable_t, __VA_ARGS__), LIST_COUNT(__VA_ARGS__)
79
/**
80
 * Pass a list of tensor bindings to NNC functions that accepts (tensor binding array, tensor binding array size).
81
 * This method effectively gives two parameters as one. Since tensor binding requires two: symbol and a tensor,
82
 * you should use this like: TENSOR_BIND_MAP(KV(symbol1, tensor1), KV(symbol2, tensor2)).
83
 */
84
28
#define TENSOR_BIND_MAP(...) LIST_X(const ccv_nnc_tensor_bind_t, __VA_ARGS__), LIST_SIZEOF_COUNT(ccv_nnc_tensor_bind_t, __VA_ARGS__)
85
/**
86
 * Pass a list of tensor symbol pairs to NNC functions that accepts (tensor symbol pair array, tensor symbol pair array size).
87
 * This method effectively gives two parameters as one. Since tensor symbol pair requires two: source symbol and destination symbol,
88
 * you should use this like: TENSOR_SYMBOL_MAP(KV(symbol1, symbol2), KV(symbol3, symbol4)).
89
 */
90
54
#define TENSOR_SYMBOL_MAP(...) LIST_X(const ccv_nnc_tensor_symbol_map_t, __VA_ARGS__), LIST_SIZEOF_COUNT(ccv_nnc_tensor_symbol_map_t, __VA_ARGS__)
91
/**
92
 * Pass a list of execution nodes to NNC functions that accepts (execution node array, execution node array size).
93
 * This method effectively gives two parameters as one.
94
 */
95
67
#define GRAPH_EXEC_LIST(...) LIST_X(const ccv_nnc_graph_exec_t, __VA_ARGS__), LIST_COUNT(__VA_ARGS__)
96
/**
97
 * Pass a list of execution node symbols to NNC functions that accepts (execution node symbol array, execution node symbol array size).
98
 * This method effectively gives two parameters as one.
99
 */
100
114
#define GRAPH_EXEC_SYMBOL_LIST(...) LIST_X(const ccv_nnc_graph_exec_symbol_t, __VA_ARGS__), LIST_COUNT(__VA_ARGS__)
101
/**
102
 * Pass both default sources and default sources size to function that accepts (sources, source size).
103
 * @param x A given symbolic graph.
104
 */
105
6.98k
#define SYMBOLIC_GRAPH_SOURCES(x) ccv_nnc_symbolic_graph_sources(x), ccv_nnc_symbolic_graph_source_size(x)
106
/**
107
 * Pass both default destinations and default destinations size to function that accepts (destinations, destination size).
108
 * @param x A given symbolic graph.
109
 */
110
6.93k
#define SYMBOLIC_GRAPH_DESTINATIONS(x) ccv_nnc_symbolic_graph_destinations(x), ccv_nnc_symbolic_graph_destination_size(x)
111
/**
112
 * Pass a list of simplification passes to NNC functions that accepts (pass array, pass array size).
113
 * This method effectively gives two parameters as one.
114
 */
115
4.52k
#define SYMBOLIC_GRAPH_PASSES(...) LIST_X(const int, __VA_ARGS__), LIST_COUNT(__VA_ARGS__)
116
/**
117
 * Pass a list of CNNP models to NNC functions that accepts (model array, model array size).
118
 * This method effectively gives two parameters as one.
119
 */
120
94
#define MODEL_LIST(...) LIST_X(ccv_cnnp_model_t*, __VA_ARGS__), LIST_COUNT(__VA_ARGS__)
121
/**
122
 * Pass a list of CNNP model IOs to NNC functions that accepts (model IO array, model IO array size).
123
 * This method effectively gives two parameters as one.
124
 */
125
963
#define MODEL_IO_LIST(...) LIST_X(const ccv_cnnp_model_io_t, __VA_ARGS__), LIST_COUNT(__VA_ARGS__)
126
/**
127
 * Pass a list of CNNP tensor params to ccv_cnnp_cmd_exec which accepts (tensor params array, tensor params array size).
128
 * This method effectively gives two parameters as one.
129
 */
130
58
#define MODEL_CMD_EXEC_IO_MAP(...) LIST_X(const ccv_cnnp_cmd_exec_io_t, __VA_ARGS__), LIST_SIZEOF_COUNT(ccv_cnnp_cmd_exec_io_t, __VA_ARGS__)
131
/**
132
 * Pass a list of CNNP tensor type to ccv_cnnp_cmd_exec which accepts (tensor type array, tensor type array size).
133
 * This method effectively gives two parameters as one.
134
 */
135
58
#define MODEL_CMD_EXEC_IO_LIST(...) LIST_X(const int, __VA_ARGS__), LIST_COUNT(__VA_ARGS__)
136
/**
137
 * Pass a list of dataframe column ids to iteration function that accepts (column id array, column id array size).
138
 * This method effectively gives two parameters as one.
139
 */
140
150
#define COLUMN_ID_LIST(...) LIST_X(const int, __VA_ARGS__), LIST_COUNT(__VA_ARGS__)
141
142
17.8k
#define TRAVERSE_FULL 0,0,0,0
143
144
1.17k
#define ALL_PARAMETERS -1
145
146
// We will support NUMA allocation on CPU in the future. Currently, this is not very meaningful (except enforce no memory reuse between tensors).
147
13.0k
#define CPU_NUMA_TENSOR_NHWC(device_id, dt, ...) ((ccv_nnc_tensor_param_t){.type=(CCV_COMPUTE_DEVICE_##device_id) | CCV_TENSOR_CPU_MEMORY,.format=CCV_TENSOR_FORMAT_NHWC,.datatype=CCV_##dt,.dim={
__VA_ARGS__36
}})
148
263
#define CPU_NUMA_TENSOR_NCHW(device_id, dt, ...) ((ccv_nnc_tensor_param_t){.type=(CCV_COMPUTE_DEVICE_##device_id) | CCV_TENSOR_CPU_MEMORY,.format=CCV_TENSOR_FORMAT_NCHW,.datatype=CCV_##dt,.dim={__VA_ARGS__}})
149
#define CPU_NUMA_TENSOR_CHWN(device_id, dt, ...) ((ccv_nnc_tensor_param_t){.type=(CCV_COMPUTE_DEVICE_##device_id) | CCV_TENSOR_CPU_MEMORY,.format=CCV_TENSOR_FORMAT_CHWN,.datatype=CCV_##dt,.dim={__VA_ARGS__}})
150
13.0k
#define CPU_TENSOR_NHWC(dt, ...) CPU_NUMA_TENSOR_NHWC(ANY, dt, __VA_ARGS__)
151
263
#define CPU_TENSOR_NCHW(dt, ...) CPU_NUMA_TENSOR_NCHW(ANY, dt, __VA_ARGS__)
152
#define CPU_TENSOR_CHWN(dt, ...) CPU_NUMA_TENSOR_CHWN(ANY, dt, __VA_ARGS__)
153
// This way, we can do error check on the device type :)
154
786
#define GPU_TENSOR_NHWC(device_id, dt, ...) ((ccv_nnc_tensor_param_t){.type=(CCV_COMPUTE_DEVICE_##device_id) | CCV_TENSOR_GPU_MEMORY,.format=CCV_TENSOR_FORMAT_NHWC,.datatype=CCV_##dt,.dim={__VA_ARGS__}})
155
286
#define GPU_TENSOR_NCHW(device_id, dt, ...) ((ccv_nnc_tensor_param_t){.type=(CCV_COMPUTE_DEVICE_##device_id) | CCV_TENSOR_GPU_MEMORY,.format=CCV_TENSOR_FORMAT_NCHW,.datatype=CCV_##dt,.dim={__VA_ARGS__}})
156
#define GPU_TENSOR_CHWN(device_id, dt, ...) ((ccv_nnc_tensor_param_t){.type=(CCV_COMPUTE_DEVICE_##device_id) | CCV_TENSOR_GPU_MEMORY,.format=CCV_TENSOR_FORMAT_CHWN,.datatype=CCV_##dt,.dim={__VA_ARGS__}})
157
/** @} */
158
159
2.49k
#define DIM_ALLOC(...) (int [CCV_NNC_MAX_DIM_ALLOC]){__VA_ARGS__}
160
161
379
#define ESCAPE_X(...) __VA_ARGS__
162
13
#define HINT_X_1(_stride_) ((ccv_nnc_hint_t){.stride={.dim={ESCAPE_X _stride_}}, .border={.begin={0},.end={0}}})
163
122
#define HINT_X_2(_stride_, _border_) ((ccv_nnc_hint_t){.stride={.dim={ESCAPE_X _stride_}}, .border={.begin={ESCAPE_X _border_},.end={ESCAPE_X _border_}}})
164
#define HINT_X_3(_stride_, _begin_, _end_) ((ccv_nnc_hint_t){.stride={.dim={ESCAPE_X _stride_}}, .border={.begin={ESCAPE_X _begin_},.end={ESCAPE_X _end_}}})
165
135
#define HINT_X_SEL(_1, _2, _3, _FX, ...) _FX
166
/**
167
 * @ingroup convenience_api
168
 * Simpler method to create hint.
169
 * HINT(stride), HINT(stride, border), HINT(stride, border begin, border end)
170
 */
171
135
#define HINT(...) HINT_X_SEL(__VA_ARGS__, HINT_X_3, 
HINT_X_2122
,
HINT_X_113
)(__VA_ARGS__)
172
173
static inline size_t ccv_nnc_dimension_count(const int dim[CCV_NNC_MAX_DIM_ALLOC])
174
909k
{
175
909k
  if (dim[0] == 0)
176
0
    return 0;
177
909k
  int i;
178
909k
  size_t count = 1;
179
2.82M
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && 
dim[i] > 02.79M
;
i++1.91M
)
180
1.91M
    count *= dim[i];
181
909k
  return count;
182
909k
}
Unexecuted instantiation: gradient.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: upsample.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: concat.tests.c:ccv_nnc_dimension_count
tensor.bind.tests.c:ccv_nnc_dimension_count
Line
Count
Source
174
2
{
175
2
  if (dim[0] == 0)
176
0
    return 0;
177
2
  int i;
178
2
  size_t count = 1;
179
5
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++3
)
180
3
    count *= dim[i];
181
2
  return count;
182
2
}
Unexecuted instantiation: backward.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: graph.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: case_of.backward.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: while.backward.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: autograd.vector.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: dropout.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: custom.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: reduce.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: batch.norm.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: crossentropy.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: cnnp.core.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: symbolic.graph.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: case_of.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: micro.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: compression.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: transform.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: dataframe.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: gemm.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: roi_align.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: swish.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: index.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: minimize.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: symbolic.graph.compile.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: autograd.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: tensor.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: rand.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: while.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: nms.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: graph.io.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: cblas.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: simplify.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: numa.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: tape.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: dynamic.graph.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: layer.norm.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: parallel.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: winograd.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: dataframe.addons.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: broadcast.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: compare.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: smooth_l1.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: forward.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: cublas.tests.c:ccv_nnc_dimension_count
symbolic.graph.vgg.d.tests.c:ccv_nnc_dimension_count
Line
Count
Source
174
5
{
175
5
  if (dim[0] == 0)
176
0
    return 0;
177
5
  int i;
178
5
  size_t count = 1;
179
16
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++11
)
180
11
    count *= dim[i];
181
5
  return count;
182
5
}
Unexecuted instantiation: imdb.tests.c:ccv_nnc_dimension_count
graph.vgg.d.tests.c:ccv_nnc_dimension_count
Line
Count
Source
174
4
{
175
4
  if (dim[0] == 0)
176
0
    return 0;
177
4
  int i;
178
4
  size_t count = 1;
179
12
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++8
)
180
8
    count *= dim[i];
181
4
  return count;
182
4
}
Unexecuted instantiation: random.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: cudnn.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: dense.net.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: cifar.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: rmsprop.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: sgd.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: nccl.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: schedule.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: loss.tests.c:ccv_nnc_dimension_count
Unexecuted instantiation: adam.tests.c:ccv_nnc_dimension_count
ccv_nnc_cmd.c:ccv_nnc_dimension_count
Line
Count
Source
174
574
{
175
574
  if (dim[0] == 0)
176
0
    return 0;
177
574
  int i;
178
574
  size_t count = 1;
179
1.57k
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++1.00k
)
180
1.00k
    count *= dim[i];
181
574
  return count;
182
574
}
ccv_nnc_tensor.c:ccv_nnc_dimension_count
Line
Count
Source
174
62.7k
{
175
62.7k
  if (dim[0] == 0)
176
0
    return 0;
177
62.7k
  int i;
178
62.7k
  size_t count = 1;
179
177k
  for (i = 0; 
i < 177k
CCV_NNC_MAX_DIM_ALLOC177k
&& dim[i] > 0;
i++114k
)
180
114k
    count *= dim[i];
181
62.7k
  return count;
182
62.7k
}
ccv_nnc_tensor_io.c:ccv_nnc_dimension_count
Line
Count
Source
174
23
{
175
23
  if (dim[0] == 0)
176
0
    return 0;
177
23
  int i;
178
23
  size_t count = 1;
179
72
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++49
)
180
49
    count *= dim[i];
181
23
  return count;
182
23
}
Unexecuted instantiation: ccv_nnc_stream.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_micro.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_micro_core.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_micro_interpret.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_micro_simplify.c:ccv_nnc_dimension_count
ccv_nnc_graph.c:ccv_nnc_dimension_count
Line
Count
Source
174
3.99k
{
175
3.99k
  if (dim[0] == 0)
176
0
    return 0;
177
3.99k
  int i;
178
3.99k
  size_t count = 1;
179
12.0k
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++8.06k
)
180
8.06k
    count *= dim[i];
181
3.99k
  return count;
182
3.99k
}
ccv_nnc_symbolic_graph.c:ccv_nnc_dimension_count
Line
Count
Source
174
7.98k
{
175
7.98k
  if (dim[0] == 0)
176
0
    return 0;
177
7.98k
  int i;
178
7.98k
  size_t count = 1;
179
19.4k
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++11.4k
)
180
11.4k
    count *= dim[i];
181
7.98k
  return count;
182
7.98k
}
Unexecuted instantiation: ccv_nnc_symbolic_graph_io.c:ccv_nnc_dimension_count
ccv_nnc_symbolic_graph_compile.c:ccv_nnc_dimension_count
Line
Count
Source
174
251k
{
175
251k
  if (dim[0] == 0)
176
0
    return 0;
177
251k
  int i;
178
251k
  size_t count = 1;
179
629k
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++378k
)
180
378k
    count *= dim[i];
181
251k
  return count;
182
251k
}
ccv_nnc_symbolic_graph_backward.c:ccv_nnc_dimension_count
Line
Count
Source
174
2.26k
{
175
2.26k
  if (dim[0] == 0)
176
0
    return 0;
177
2.26k
  int i;
178
2.26k
  size_t count = 1;
179
4.98k
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++2.72k
)
180
2.72k
    count *= dim[i];
181
2.26k
  return count;
182
2.26k
}
Unexecuted instantiation: ccv_nnc_symbolic_graph_while.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_graph_while.c:ccv_nnc_dimension_count
ccv_nnc_tensor_tape.c:ccv_nnc_dimension_count
Line
Count
Source
174
22
{
175
22
  if (dim[0] == 0)
176
0
    return 0;
177
22
  int i;
178
22
  size_t count = 1;
179
44
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++22
)
180
22
    count *= dim[i];
181
22
  return count;
182
22
}
Unexecuted instantiation: ccv_nnc_symbolic_graph_case_of.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_graph_case_of.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_symbolic_graph_minimize.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_symbolic_graph_parallel.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_symbolic_graph_simplify.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_symbolic_graph_memory_compression.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_graph_run.c:ccv_nnc_dimension_count
ccv_nnc_dynamic_graph.c:ccv_nnc_dimension_count
Line
Count
Source
174
2.51k
{
175
2.51k
  if (dim[0] == 0)
176
0
    return 0;
177
2.51k
  int i;
178
2.51k
  size_t count = 1;
179
5.46k
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++2.95k
)
180
2.95k
    count *= dim[i];
181
2.51k
  return count;
182
2.51k
}
Unexecuted instantiation: ccv_nnc_dynamic_graph_alloc.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_dynamic_graph_backward.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_dynamic_graph_apply_gradients.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_dynamic_graph_minimize.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_dynamic_graph_evaluate.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_cnnp_dataframe.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_cnnp_dataframe_core.c:ccv_nnc_dimension_count
ccv_cnnp_dataframe_addons.c:ccv_nnc_dimension_count
Line
Count
Source
174
167k
{
175
167k
  if (dim[0] == 0)
176
0
    return 0;
177
167k
  int i;
178
167k
  size_t count = 1;
179
597k
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && 
dim[i] > 0567k
;
i++430k
)
180
430k
    count *= dim[i];
181
167k
  return count;
182
167k
}
Unexecuted instantiation: ccv_cnnp_dataframe_csv.c:ccv_nnc_dimension_count
ccv_cnnp_model.c:ccv_nnc_dimension_count
Line
Count
Source
174
7.37k
{
175
7.37k
  if (dim[0] == 0)
176
0
    return 0;
177
7.37k
  int i;
178
7.37k
  size_t count = 1;
179
15.8k
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++8.50k
)
180
8.50k
    count *= dim[i];
181
7.37k
  return count;
182
7.37k
}
Unexecuted instantiation: ccv_cnnp_model_io.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_cnnp_model_core.c:ccv_nnc_dimension_count
ccv_cnnp_model_addons.c:ccv_nnc_dimension_count
Line
Count
Source
174
2.21k
{
175
2.21k
  if (dim[0] == 0)
176
0
    return 0;
177
2.21k
  int i;
178
2.21k
  size_t count = 1;
179
4.90k
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++2.68k
)
180
2.68k
    count *= dim[i];
181
2.21k
  return count;
182
2.21k
}
ccv_nnc_rand_uniform_cpu_ref.c:ccv_nnc_dimension_count
Line
Count
Source
174
36
{
175
36
  if (dim[0] == 0)
176
0
    return 0;
177
36
  int i;
178
36
  size_t count = 1;
179
122
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++86
)
180
86
    count *= dim[i];
181
36
  return count;
182
36
}
ccv_nnc_rand_normal_cpu_ref.c:ccv_nnc_dimension_count
Line
Count
Source
174
1
{
175
1
  if (dim[0] == 0)
176
0
    return 0;
177
1
  int i;
178
1
  size_t count = 1;
179
2
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++1
)
180
1
    count *= dim[i];
181
1
  return count;
182
1
}
ccv_nnc_conv_cpu_ref.c:ccv_nnc_dimension_count
Line
Count
Source
174
2.21k
{
175
2.21k
  if (dim[0] == 0)
176
0
    return 0;
177
2.21k
  int i;
178
2.21k
  size_t count = 1;
179
7.74k
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++5.53k
)
180
5.53k
    count *= dim[i];
181
2.21k
  return count;
182
2.21k
}
Unexecuted instantiation: ccv_nnc_conv_cpu_opt.c:ccv_nnc_dimension_count
ccv_nnc_swish_cpu_ref.c:ccv_nnc_dimension_count
Line
Count
Source
174
8
{
175
8
  if (dim[0] == 0)
176
0
    return 0;
177
8
  int i;
178
8
  size_t count = 1;
179
22
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++14
)
180
14
    count *= dim[i];
181
8
  return count;
182
8
}
ccv_nnc_dropout_cpu_ref.c:ccv_nnc_dimension_count
Line
Count
Source
174
6
{
175
6
  if (dim[0] == 0)
176
0
    return 0;
177
6
  int i;
178
6
  size_t count = 1;
179
18
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++12
)
180
12
    count *= dim[i];
181
6
  return count;
182
6
}
ccv_nnc_softmax_crossentropy_cpu_ref.c:ccv_nnc_dimension_count
Line
Count
Source
174
939
{
175
939
  if (dim[0] == 0)
176
0
    return 0;
177
939
  int i;
178
939
  size_t count = 1;
179
2.50k
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++1.56k
)
180
1.56k
    count *= dim[i];
181
939
  return count;
182
939
}
Unexecuted instantiation: ccv_nnc_sgd_cpu_ref.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_max_pool_cpu_ref.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_avg_pool_cpu_ref.c:ccv_nnc_dimension_count
ccv_nnc_sigmoid_binary_crossentropy_cpu_ref.c:ccv_nnc_dimension_count
Line
Count
Source
174
12
{
175
12
  if (dim[0] == 0)
176
0
    return 0;
177
12
  int i;
178
12
  size_t count = 1;
179
28
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++16
)
180
16
    count *= dim[i];
181
12
  return count;
182
12
}
Unexecuted instantiation: ccv_nnc_lssc_cpu_ref.c:ccv_nnc_dimension_count
ccv_nnc_min_cpu_ref.c:ccv_nnc_dimension_count
Line
Count
Source
174
6
{
175
6
  if (dim[0] == 0)
176
0
    return 0;
177
6
  int i;
178
6
  size_t count = 1;
179
22
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++16
)
180
16
    count *= dim[i];
181
6
  return count;
182
6
}
ccv_nnc_max_cpu_ref.c:ccv_nnc_dimension_count
Line
Count
Source
174
6
{
175
6
  if (dim[0] == 0)
176
0
    return 0;
177
6
  int i;
178
6
  size_t count = 1;
179
22
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++16
)
180
16
    count *= dim[i];
181
6
  return count;
182
6
}
ccv_nnc_softmax_cpu_ref.c:ccv_nnc_dimension_count
Line
Count
Source
174
510
{
175
510
  if (dim[0] == 0)
176
0
    return 0;
177
510
  int i;
178
510
  size_t count = 1;
179
1.03k
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++523
)
180
523
    count *= dim[i];
181
510
  return count;
182
510
}
ccv_nnc_binary_crossentropy_cpu_ref.c:ccv_nnc_dimension_count
Line
Count
Source
174
20
{
175
20
  if (dim[0] == 0)
176
0
    return 0;
177
20
  int i;
178
20
  size_t count = 1;
179
44
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++24
)
180
24
    count *= dim[i];
181
20
  return count;
182
20
}
ccv_nnc_categorical_crossentropy_cpu_ref.c:ccv_nnc_dimension_count
Line
Count
Source
174
19
{
175
19
  if (dim[0] == 0)
176
0
    return 0;
177
19
  int i;
178
19
  size_t count = 1;
179
57
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++38
)
180
38
    count *= dim[i];
181
19
  return count;
182
19
}
ccv_nnc_smooth_l1_cpu_ref.c:ccv_nnc_dimension_count
Line
Count
Source
174
9
{
175
9
  if (dim[0] == 0)
176
0
    return 0;
177
9
  int i;
178
9
  size_t count = 1;
179
21
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++12
)
180
12
    count *= dim[i];
181
9
  return count;
182
9
}
ccv_nnc_relu_cpu_ref.c:ccv_nnc_dimension_count
Line
Count
Source
174
2.73k
{
175
2.73k
  if (dim[0] == 0)
176
0
    return 0;
177
2.73k
  int i;
178
2.73k
  size_t count = 1;
179
12.2k
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++9.54k
)
180
9.54k
    count *= dim[i];
181
2.73k
  return count;
182
2.73k
}
Unexecuted instantiation: ccv_nnc_adam_cpu_ref.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_nms_cpu_ref.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_gemm_cpu_ref.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_gemm_cpu_opt.c:ccv_nnc_dimension_count
ccv_nnc_add_cpu_ref.c:ccv_nnc_dimension_count
Line
Count
Source
174
16.9k
{
175
16.9k
  if (dim[0] == 0)
176
0
    return 0;
177
16.9k
  int i;
178
16.9k
  size_t count = 1;
179
38.3k
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++21.4k
)
180
21.4k
    count *= dim[i];
181
16.9k
  return count;
182
16.9k
}
ccv_nnc_mul_cpu_ref.c:ccv_nnc_dimension_count
Line
Count
Source
174
79
{
175
79
  if (dim[0] == 0)
176
0
    return 0;
177
79
  int i;
178
79
  size_t count = 1;
179
209
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++130
)
180
130
    count *= dim[i];
181
79
  return count;
182
79
}
Unexecuted instantiation: ccv_nnc_upsample_cpu_ref.c:ccv_nnc_dimension_count
ccv_nnc_util_cpu_ref.c:ccv_nnc_dimension_count
Line
Count
Source
174
274k
{
175
274k
  if (dim[0] == 0)
176
0
    return 0;
177
274k
  int i;
178
274k
  size_t count = 1;
179
1.04M
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++766k
)
180
766k
    count *= dim[i];
181
274k
  return count;
182
274k
}
Unexecuted instantiation: ccv_nnc_roi_align_cpu_ref.c:ccv_nnc_dimension_count
ccv_nnc_sigmoid_cpu_ref.c:ccv_nnc_dimension_count
Line
Count
Source
174
12
{
175
12
  if (dim[0] == 0)
176
0
    return 0;
177
12
  int i;
178
12
  size_t count = 1;
179
34
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++22
)
180
22
    count *= dim[i];
181
12
  return count;
182
12
}
Unexecuted instantiation: ccv_nnc_index_select_cpu_ref.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_rmsprop_cpu_ref.c:ccv_nnc_dimension_count
ccv_nnc_ew_cpu_ref.c:ccv_nnc_dimension_count
Line
Count
Source
174
102k
{
175
102k
  if (dim[0] == 0)
176
0
    return 0;
177
102k
  int i;
178
102k
  size_t count = 1;
179
250k
  for (i = 0; i < CCV_NNC_MAX_DIM_ALLOC && dim[i] > 0; 
i++148k
)
180
148k
    count *= dim[i];
181
102k
  return count;
182
102k
}
Unexecuted instantiation: ccv_nnc_reduce_sum_cpu_ref.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_reduce_max_cpu_ref.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_batch_norm_cpu_ref.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_layer_norm_cpu_ref.c:ccv_nnc_dimension_count
Unexecuted instantiation: _ccv_nnc_conv_cpu_4x4_3x3_winograd.c:ccv_nnc_dimension_count
Unexecuted instantiation: _ccv_nnc_conv_cpu_fft.c:ccv_nnc_dimension_count
Unexecuted instantiation: _ccv_nnc_conv_cpu_gemm.c:ccv_nnc_dimension_count
Unexecuted instantiation: _ccv_nnc_conv_cpu_opt.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_convolution.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_softmax_crossentropy.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_pool.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_cmp.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_binary_crossentropy.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_categorical_crossentropy.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_smooth_l1.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_nms.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_blas.c:ccv_nnc_dimension_count
Unexecuted instantiation: _ccv_nnc_gemm_cpu_opt.c:ccv_nnc_dimension_count
Unexecuted instantiation: _ccv_nnc_gemm_cpu_sys.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_upsample.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_roi_align.c:ccv_nnc_dimension_count
Unexecuted instantiation: ccv_nnc_sigmoid.c:ccv_nnc_dimension_count
183
184
static inline size_t ccv_nnc_tensor_count(const ccv_nnc_tensor_param_t params)
185
919k
{
186
919k
  return ccv_nnc_dimension_count(params.dim);
187
919k
}
Unexecuted instantiation: gradient.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: upsample.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: concat.tests.c:ccv_nnc_tensor_count
tensor.bind.tests.c:ccv_nnc_tensor_count
Line
Count
Source
185
2
{
186
2
  return ccv_nnc_dimension_count(params.dim);
187
2
}
Unexecuted instantiation: backward.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: graph.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: case_of.backward.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: while.backward.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: autograd.vector.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: dropout.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: custom.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: reduce.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: batch.norm.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: crossentropy.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: cnnp.core.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: symbolic.graph.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: case_of.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: micro.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: compression.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: transform.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: dataframe.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: gemm.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: roi_align.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: swish.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: index.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: minimize.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: symbolic.graph.compile.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: autograd.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: tensor.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: rand.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: while.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: nms.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: graph.io.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: cblas.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: simplify.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: numa.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: tape.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: dynamic.graph.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: layer.norm.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: parallel.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: winograd.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: dataframe.addons.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: broadcast.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: compare.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: smooth_l1.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: forward.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: cublas.tests.c:ccv_nnc_tensor_count
symbolic.graph.vgg.d.tests.c:ccv_nnc_tensor_count
Line
Count
Source
185
5
{
186
5
  return ccv_nnc_dimension_count(params.dim);
187
5
}
Unexecuted instantiation: imdb.tests.c:ccv_nnc_tensor_count
graph.vgg.d.tests.c:ccv_nnc_tensor_count
Line
Count
Source
185
4
{
186
4
  return ccv_nnc_dimension_count(params.dim);
187
4
}
Unexecuted instantiation: random.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: cudnn.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: dense.net.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: cifar.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: rmsprop.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: sgd.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: nccl.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: schedule.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: loss.tests.c:ccv_nnc_tensor_count
Unexecuted instantiation: adam.tests.c:ccv_nnc_tensor_count
ccv_nnc_cmd.c:ccv_nnc_tensor_count
Line
Count
Source
185
574
{
186
574
  return ccv_nnc_dimension_count(params.dim);
187
574
}
ccv_nnc_tensor.c:ccv_nnc_tensor_count
Line
Count
Source
185
62.6k
{
186
62.6k
  return ccv_nnc_dimension_count(params.dim);
187
62.6k
}
ccv_nnc_tensor_io.c:ccv_nnc_tensor_count
Line
Count
Source
185
23
{
186
23
  return ccv_nnc_dimension_count(params.dim);
187
23
}
Unexecuted instantiation: ccv_nnc_stream.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_micro.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_micro_core.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_micro_interpret.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_micro_simplify.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_graph.c:ccv_nnc_tensor_count
ccv_nnc_symbolic_graph.c:ccv_nnc_tensor_count
Line
Count
Source
185
3.99k
{
186
3.99k
  return ccv_nnc_dimension_count(params.dim);
187
3.99k
}
Unexecuted instantiation: ccv_nnc_symbolic_graph_io.c:ccv_nnc_tensor_count
ccv_nnc_symbolic_graph_compile.c:ccv_nnc_tensor_count
Line
Count
Source
185
251k
{
186
251k
  return ccv_nnc_dimension_count(params.dim);
187
251k
}
Unexecuted instantiation: ccv_nnc_symbolic_graph_backward.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_symbolic_graph_while.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_graph_while.c:ccv_nnc_tensor_count
ccv_nnc_tensor_tape.c:ccv_nnc_tensor_count
Line
Count
Source
185
22
{
186
22
  return ccv_nnc_dimension_count(params.dim);
187
22
}
Unexecuted instantiation: ccv_nnc_symbolic_graph_case_of.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_graph_case_of.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_symbolic_graph_minimize.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_symbolic_graph_parallel.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_symbolic_graph_simplify.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_symbolic_graph_memory_compression.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_graph_run.c:ccv_nnc_tensor_count
ccv_nnc_dynamic_graph.c:ccv_nnc_tensor_count
Line
Count
Source
185
2.51k
{
186
2.51k
  return ccv_nnc_dimension_count(params.dim);
187
2.51k
}
Unexecuted instantiation: ccv_nnc_dynamic_graph_alloc.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_dynamic_graph_backward.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_dynamic_graph_apply_gradients.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_dynamic_graph_minimize.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_dynamic_graph_evaluate.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_cnnp_dataframe.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_cnnp_dataframe_core.c:ccv_nnc_tensor_count
ccv_cnnp_dataframe_addons.c:ccv_nnc_tensor_count
Line
Count
Source
185
188k
{
186
188k
  return ccv_nnc_dimension_count(params.dim);
187
188k
}
Unexecuted instantiation: ccv_cnnp_dataframe_csv.c:ccv_nnc_tensor_count
ccv_cnnp_model.c:ccv_nnc_tensor_count
Line
Count
Source
185
7.37k
{
186
7.37k
  return ccv_nnc_dimension_count(params.dim);
187
7.37k
}
Unexecuted instantiation: ccv_cnnp_model_io.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_cnnp_model_core.c:ccv_nnc_tensor_count
ccv_cnnp_model_addons.c:ccv_nnc_tensor_count
Line
Count
Source
185
1.13k
{
186
1.13k
  return ccv_nnc_dimension_count(params.dim);
187
1.13k
}
ccv_nnc_rand_uniform_cpu_ref.c:ccv_nnc_tensor_count
Line
Count
Source
185
36
{
186
36
  return ccv_nnc_dimension_count(params.dim);
187
36
}
ccv_nnc_rand_normal_cpu_ref.c:ccv_nnc_tensor_count
Line
Count
Source
185
1
{
186
1
  return ccv_nnc_dimension_count(params.dim);
187
1
}
ccv_nnc_conv_cpu_ref.c:ccv_nnc_tensor_count
Line
Count
Source
185
2.21k
{
186
2.21k
  return ccv_nnc_dimension_count(params.dim);
187
2.21k
}
Unexecuted instantiation: ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_count
ccv_nnc_swish_cpu_ref.c:ccv_nnc_tensor_count
Line
Count
Source
185
8
{
186
8
  return ccv_nnc_dimension_count(params.dim);
187
8
}
ccv_nnc_dropout_cpu_ref.c:ccv_nnc_tensor_count
Line
Count
Source
185
6
{
186
6
  return ccv_nnc_dimension_count(params.dim);
187
6
}
ccv_nnc_softmax_crossentropy_cpu_ref.c:ccv_nnc_tensor_count
Line
Count
Source
185
939
{
186
939
  return ccv_nnc_dimension_count(params.dim);
187
939
}
Unexecuted instantiation: ccv_nnc_sgd_cpu_ref.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_max_pool_cpu_ref.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_avg_pool_cpu_ref.c:ccv_nnc_tensor_count
ccv_nnc_sigmoid_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_count
Line
Count
Source
185
12
{
186
12
  return ccv_nnc_dimension_count(params.dim);
187
12
}
Unexecuted instantiation: ccv_nnc_lssc_cpu_ref.c:ccv_nnc_tensor_count
ccv_nnc_min_cpu_ref.c:ccv_nnc_tensor_count
Line
Count
Source
185
6
{
186
6
  return ccv_nnc_dimension_count(params.dim);
187
6
}
ccv_nnc_max_cpu_ref.c:ccv_nnc_tensor_count
Line
Count
Source
185
6
{
186
6
  return ccv_nnc_dimension_count(params.dim);
187
6
}
ccv_nnc_softmax_cpu_ref.c:ccv_nnc_tensor_count
Line
Count
Source
185
510
{
186
510
  return ccv_nnc_dimension_count(params.dim);
187
510
}
ccv_nnc_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_count
Line
Count
Source
185
20
{
186
20
  return ccv_nnc_dimension_count(params.dim);
187
20
}
ccv_nnc_categorical_crossentropy_cpu_ref.c:ccv_nnc_tensor_count
Line
Count
Source
185
19
{
186
19
  return ccv_nnc_dimension_count(params.dim);
187
19
}
ccv_nnc_smooth_l1_cpu_ref.c:ccv_nnc_tensor_count
Line
Count
Source
185
9
{
186
9
  return ccv_nnc_dimension_count(params.dim);
187
9
}
ccv_nnc_relu_cpu_ref.c:ccv_nnc_tensor_count
Line
Count
Source
185
2.73k
{
186
2.73k
  return ccv_nnc_dimension_count(params.dim);
187
2.73k
}
Unexecuted instantiation: ccv_nnc_adam_cpu_ref.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_nms_cpu_ref.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_gemm_cpu_ref.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_count
ccv_nnc_add_cpu_ref.c:ccv_nnc_tensor_count
Line
Count
Source
185
16.9k
{
186
16.9k
  return ccv_nnc_dimension_count(params.dim);
187
16.9k
}
ccv_nnc_mul_cpu_ref.c:ccv_nnc_tensor_count
Line
Count
Source
185
79
{
186
79
  return ccv_nnc_dimension_count(params.dim);
187
79
}
Unexecuted instantiation: ccv_nnc_upsample_cpu_ref.c:ccv_nnc_tensor_count
ccv_nnc_util_cpu_ref.c:ccv_nnc_tensor_count
Line
Count
Source
185
274k
{
186
274k
  return ccv_nnc_dimension_count(params.dim);
187
274k
}
Unexecuted instantiation: ccv_nnc_roi_align_cpu_ref.c:ccv_nnc_tensor_count
ccv_nnc_sigmoid_cpu_ref.c:ccv_nnc_tensor_count
Line
Count
Source
185
12
{
186
12
  return ccv_nnc_dimension_count(params.dim);
187
12
}
Unexecuted instantiation: ccv_nnc_index_select_cpu_ref.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_rmsprop_cpu_ref.c:ccv_nnc_tensor_count
ccv_nnc_ew_cpu_ref.c:ccv_nnc_tensor_count
Line
Count
Source
185
102k
{
186
102k
  return ccv_nnc_dimension_count(params.dim);
187
102k
}
Unexecuted instantiation: ccv_nnc_reduce_sum_cpu_ref.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_reduce_max_cpu_ref.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_batch_norm_cpu_ref.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_layer_norm_cpu_ref.c:ccv_nnc_tensor_count
Unexecuted instantiation: _ccv_nnc_conv_cpu_4x4_3x3_winograd.c:ccv_nnc_tensor_count
Unexecuted instantiation: _ccv_nnc_conv_cpu_fft.c:ccv_nnc_tensor_count
Unexecuted instantiation: _ccv_nnc_conv_cpu_gemm.c:ccv_nnc_tensor_count
Unexecuted instantiation: _ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_convolution.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_softmax_crossentropy.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_pool.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_cmp.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_binary_crossentropy.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_categorical_crossentropy.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_smooth_l1.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_nms.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_blas.c:ccv_nnc_tensor_count
Unexecuted instantiation: _ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_count
Unexecuted instantiation: _ccv_nnc_gemm_cpu_sys.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_upsample.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_roi_align.c:ccv_nnc_tensor_count
Unexecuted instantiation: ccv_nnc_sigmoid.c:ccv_nnc_tensor_count
188
189
static inline size_t ccv_nnc_tensor_data_size(const ccv_nnc_tensor_param_t params)
190
133k
{
191
133k
  return ((CCV_GET_DATA_TYPE_SIZE(params.datatype) * (ssize_t)ccv_nnc_tensor_count(params) + 15) & -16);
192
133k
}
Unexecuted instantiation: gradient.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: upsample.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: concat.tests.c:ccv_nnc_tensor_data_size
tensor.bind.tests.c:ccv_nnc_tensor_data_size
Line
Count
Source
190
2
{
191
2
  return ((CCV_GET_DATA_TYPE_SIZE(params.datatype) * (ssize_t)ccv_nnc_tensor_count(params) + 15) & -16);
192
2
}
Unexecuted instantiation: backward.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: graph.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: case_of.backward.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: while.backward.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: autograd.vector.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: dropout.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: custom.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: reduce.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: batch.norm.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: crossentropy.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: cnnp.core.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: symbolic.graph.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: case_of.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: micro.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: compression.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: transform.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: dataframe.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: gemm.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: roi_align.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: swish.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: index.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: minimize.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: symbolic.graph.compile.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: autograd.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: tensor.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: rand.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: while.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: nms.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: graph.io.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: cblas.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: simplify.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: numa.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: tape.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: dynamic.graph.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: layer.norm.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: parallel.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: winograd.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: dataframe.addons.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: broadcast.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: compare.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: smooth_l1.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: forward.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: cublas.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: symbolic.graph.vgg.d.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: imdb.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: graph.vgg.d.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: random.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: cudnn.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: dense.net.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: cifar.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: rmsprop.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: sgd.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: nccl.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: schedule.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: loss.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: adam.tests.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_cmd.c:ccv_nnc_tensor_data_size
ccv_nnc_tensor.c:ccv_nnc_tensor_data_size
Line
Count
Source
190
47.6k
{
191
47.6k
  return ((CCV_GET_DATA_TYPE_SIZE(params.datatype) * (ssize_t)ccv_nnc_tensor_count(params) + 15) & -16);
192
47.6k
}
ccv_nnc_tensor_io.c:ccv_nnc_tensor_data_size
Line
Count
Source
190
23
{
191
23
  return ((CCV_GET_DATA_TYPE_SIZE(params.datatype) * (ssize_t)ccv_nnc_tensor_count(params) + 15) & -16);
192
23
}
Unexecuted instantiation: ccv_nnc_stream.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_micro.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_micro_core.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_micro_interpret.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_micro_simplify.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_graph.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_symbolic_graph.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_symbolic_graph_io.c:ccv_nnc_tensor_data_size
ccv_nnc_symbolic_graph_compile.c:ccv_nnc_tensor_data_size
Line
Count
Source
190
85.7k
{
191
85.7k
  return ((CCV_GET_DATA_TYPE_SIZE(params.datatype) * (ssize_t)ccv_nnc_tensor_count(params) + 15) & -16);
192
85.7k
}
Unexecuted instantiation: ccv_nnc_symbolic_graph_backward.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_symbolic_graph_while.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_graph_while.c:ccv_nnc_tensor_data_size
ccv_nnc_tensor_tape.c:ccv_nnc_tensor_data_size
Line
Count
Source
190
22
{
191
22
  return ((CCV_GET_DATA_TYPE_SIZE(params.datatype) * (ssize_t)ccv_nnc_tensor_count(params) + 15) & -16);
192
22
}
Unexecuted instantiation: ccv_nnc_symbolic_graph_case_of.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_graph_case_of.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_symbolic_graph_minimize.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_symbolic_graph_parallel.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_symbolic_graph_simplify.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_symbolic_graph_memory_compression.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_graph_run.c:ccv_nnc_tensor_data_size
ccv_nnc_dynamic_graph.c:ccv_nnc_tensor_data_size
Line
Count
Source
190
436
{
191
436
  return ((CCV_GET_DATA_TYPE_SIZE(params.datatype) * (ssize_t)ccv_nnc_tensor_count(params) + 15) & -16);
192
436
}
Unexecuted instantiation: ccv_nnc_dynamic_graph_alloc.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_dynamic_graph_backward.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_dynamic_graph_apply_gradients.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_dynamic_graph_minimize.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_dynamic_graph_evaluate.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_cnnp_dataframe.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_cnnp_dataframe_core.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_cnnp_dataframe_addons.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_cnnp_dataframe_csv.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_cnnp_model.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_cnnp_model_io.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_cnnp_model_core.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_cnnp_model_addons.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_rand_uniform_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_rand_normal_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_conv_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_swish_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_dropout_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_softmax_crossentropy_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_sgd_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_max_pool_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_avg_pool_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_lssc_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_min_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_max_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_softmax_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_categorical_crossentropy_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_smooth_l1_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_relu_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_adam_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_nms_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_gemm_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_add_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_mul_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_upsample_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_util_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_roi_align_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_sigmoid_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_index_select_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_rmsprop_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_ew_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_reduce_sum_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_reduce_max_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_batch_norm_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_layer_norm_cpu_ref.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: _ccv_nnc_conv_cpu_4x4_3x3_winograd.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: _ccv_nnc_conv_cpu_fft.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: _ccv_nnc_conv_cpu_gemm.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: _ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_convolution.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_softmax_crossentropy.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_pool.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_cmp.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_binary_crossentropy.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_categorical_crossentropy.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_smooth_l1.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_nms.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_blas.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: _ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: _ccv_nnc_gemm_cpu_sys.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_upsample.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_roi_align.c:ccv_nnc_tensor_data_size
Unexecuted instantiation: ccv_nnc_sigmoid.c:ccv_nnc_tensor_data_size
193
194
static inline void ccv_nnc_tensor_view_get_dim(const ccv_nnc_tensor_view_t* const tv, int dim[CCV_NNC_MAX_DIM_ALLOC])
195
191k
{
196
191k
  int x;
197
191k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
198
191k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
199
680k
  for (x = 0; x < offset; 
x++488k
)
200
488k
    dim[x] = 1;
201
471k
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++279k
)
202
279k
    dim[x] = tv->info.dim[x - offset];
203
191k
}
Unexecuted instantiation: gradient.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: upsample.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: concat.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: tensor.bind.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: backward.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: graph.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: case_of.backward.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: while.backward.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: autograd.vector.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: dropout.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: custom.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: reduce.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: batch.norm.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: crossentropy.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: cnnp.core.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: symbolic.graph.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: case_of.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: micro.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: compression.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: transform.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: dataframe.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: gemm.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: roi_align.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: swish.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: index.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: minimize.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: symbolic.graph.compile.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: autograd.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: tensor.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: rand.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: while.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: nms.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: graph.io.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: cblas.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: simplify.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: numa.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: tape.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: dynamic.graph.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: layer.norm.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: parallel.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: winograd.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: dataframe.addons.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: broadcast.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: compare.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: smooth_l1.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: forward.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: cublas.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: symbolic.graph.vgg.d.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: imdb.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: graph.vgg.d.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: random.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: cudnn.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: dense.net.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: cifar.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: rmsprop.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: sgd.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: nccl.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: schedule.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: loss.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: adam.tests.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_cmd.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_tensor.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_tensor_io.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_stream.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_micro.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_micro_core.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_micro_interpret.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_micro_simplify.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_graph.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_io.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_compile.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_backward.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_while.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_graph_while.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_tensor_tape.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_case_of.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_graph_case_of.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_minimize.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_parallel.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_simplify.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_memory_compression.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_graph_run.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph_alloc.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph_backward.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph_apply_gradients.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph_minimize.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph_evaluate.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_cnnp_dataframe.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_cnnp_dataframe_core.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_cnnp_dataframe_addons.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_cnnp_dataframe_csv.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_cnnp_model.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_cnnp_model_io.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_cnnp_model_core.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_cnnp_model_addons.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_rand_uniform_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_rand_normal_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_conv_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_swish_cpu_ref.c:ccv_nnc_tensor_view_get_dim
ccv_nnc_dropout_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Line
Count
Source
195
6
{
196
6
  int x;
197
6
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
198
6
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
199
18
  for (x = 0; x < offset; 
x++12
)
200
12
    dim[x] = 1;
201
18
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++12
)
202
12
    dim[x] = tv->info.dim[x - offset];
203
6
}
Unexecuted instantiation: ccv_nnc_softmax_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_get_dim
ccv_nnc_sgd_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Line
Count
Source
195
17.7k
{
196
17.7k
  int x;
197
17.7k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
198
17.7k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
199
60.7k
  for (x = 0; x < offset; 
x++43.0k
)
200
43.0k
    dim[x] = 1;
201
45.5k
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++27.7k
)
202
27.7k
    dim[x] = tv->info.dim[x - offset];
203
17.7k
}
Unexecuted instantiation: ccv_nnc_max_pool_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_avg_pool_cpu_ref.c:ccv_nnc_tensor_view_get_dim
ccv_nnc_sigmoid_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Line
Count
Source
195
28
{
196
28
  int x;
197
28
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
198
28
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
199
84
  for (x = 0; x < offset; 
x++56
)
200
56
    dim[x] = 1;
201
84
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++56
)
202
56
    dim[x] = tv->info.dim[x - offset];
203
28
}
Unexecuted instantiation: ccv_nnc_lssc_cpu_ref.c:ccv_nnc_tensor_view_get_dim
ccv_nnc_min_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Line
Count
Source
195
9
{
196
9
  int x;
197
9
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
198
9
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
199
20
  for (x = 0; x < offset; 
x++11
)
200
11
    dim[x] = 1;
201
34
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++25
)
202
25
    dim[x] = tv->info.dim[x - offset];
203
9
}
ccv_nnc_max_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Line
Count
Source
195
9
{
196
9
  int x;
197
9
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
198
9
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
199
20
  for (x = 0; x < offset; 
x++11
)
200
11
    dim[x] = 1;
201
34
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++25
)
202
25
    dim[x] = tv->info.dim[x - offset];
203
9
}
Unexecuted instantiation: ccv_nnc_softmax_cpu_ref.c:ccv_nnc_tensor_view_get_dim
ccv_nnc_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Line
Count
Source
195
24
{
196
24
  int x;
197
24
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
198
24
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
199
72
  for (x = 0; x < offset; 
x++48
)
200
48
    dim[x] = 1;
201
72
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++48
)
202
48
    dim[x] = tv->info.dim[x - offset];
203
24
}
Unexecuted instantiation: ccv_nnc_categorical_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_get_dim
ccv_nnc_smooth_l1_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Line
Count
Source
195
7
{
196
7
  int x;
197
7
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
198
7
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
199
21
  for (x = 0; x < offset; 
x++14
)
200
14
    dim[x] = 1;
201
21
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++14
)
202
14
    dim[x] = tv->info.dim[x - offset];
203
7
}
Unexecuted instantiation: ccv_nnc_relu_cpu_ref.c:ccv_nnc_tensor_view_get_dim
ccv_nnc_adam_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Line
Count
Source
195
1.00k
{
196
1.00k
  int x;
197
1.00k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
198
1.00k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
199
3.01k
  for (x = 0; x < offset; 
x++2.00k
)
200
2.00k
    dim[x] = 1;
201
3.00k
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++2.00k
)
202
2.00k
    dim[x] = tv->info.dim[x - offset];
203
1.00k
}
Unexecuted instantiation: ccv_nnc_nms_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_gemm_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_view_get_dim
ccv_nnc_add_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Line
Count
Source
195
52.6k
{
196
52.6k
  int x;
197
52.6k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
198
52.6k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
199
192k
  for (x = 0; x < offset; 
x++139k
)
200
139k
    dim[x] = 1;
201
123k
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++70.8k
)
202
70.8k
    dim[x] = tv->info.dim[x - offset];
203
52.6k
}
ccv_nnc_mul_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Line
Count
Source
195
16.1k
{
196
16.1k
  int x;
197
16.1k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
198
16.1k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
199
64.6k
  for (x = 0; x < offset; 
x++48.4k
)
200
48.4k
    dim[x] = 1;
201
32.5k
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++16.3k
)
202
16.3k
    dim[x] = tv->info.dim[x - offset];
203
16.1k
}
ccv_nnc_upsample_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Line
Count
Source
195
8
{
196
8
  int x;
197
8
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
198
8
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
199
16
  for (x = 0; x < offset; 
x++8
)
200
8
    dim[x] = 1;
201
32
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++24
)
202
24
    dim[x] = tv->info.dim[x - offset];
203
8
}
ccv_nnc_util_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Line
Count
Source
195
29
{
196
29
  int x;
197
29
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
198
29
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
199
79
  for (x = 0; x < offset; 
x++50
)
200
50
    dim[x] = 1;
201
95
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++66
)
202
66
    dim[x] = tv->info.dim[x - offset];
203
29
}
Unexecuted instantiation: ccv_nnc_roi_align_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_sigmoid_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_index_select_cpu_ref.c:ccv_nnc_tensor_view_get_dim
ccv_nnc_rmsprop_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Line
Count
Source
195
1.00k
{
196
1.00k
  int x;
197
1.00k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
198
1.00k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
199
3.01k
  for (x = 0; x < offset; 
x++2.00k
)
200
2.00k
    dim[x] = 1;
201
3.00k
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++2.00k
)
202
2.00k
    dim[x] = tv->info.dim[x - offset];
203
1.00k
}
ccv_nnc_ew_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Line
Count
Source
195
83.0k
{
196
83.0k
  int x;
197
83.0k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
198
83.0k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
199
295k
  for (x = 0; x < offset; 
x++212k
)
200
212k
    dim[x] = 1;
201
202k
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++119k
)
202
119k
    dim[x] = tv->info.dim[x - offset];
203
83.0k
}
ccv_nnc_reduce_sum_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Line
Count
Source
195
20.1k
{
196
20.1k
  int x;
197
20.1k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
198
20.1k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
199
60.2k
  for (x = 0; x < offset; 
x++40.1k
)
200
40.1k
    dim[x] = 1;
201
60.4k
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++40.3k
)
202
40.3k
    dim[x] = tv->info.dim[x - offset];
203
20.1k
}
ccv_nnc_reduce_max_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Line
Count
Source
195
10
{
196
10
  int x;
197
10
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
198
10
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
199
35
  for (x = 0; x < offset; 
x++25
)
200
25
    dim[x] = 1;
201
25
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++15
)
202
15
    dim[x] = tv->info.dim[x - offset];
203
10
}
ccv_nnc_batch_norm_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Line
Count
Source
195
54
{
196
54
  int x;
197
54
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
198
54
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
199
135
  for (x = 0; x < offset; 
x++81
)
200
81
    dim[x] = 1;
201
189
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++135
)
202
135
    dim[x] = tv->info.dim[x - offset];
203
54
}
ccv_nnc_layer_norm_cpu_ref.c:ccv_nnc_tensor_view_get_dim
Line
Count
Source
195
22
{
196
22
  int x;
197
22
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
198
22
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
199
22
  for (x = 0; x < offset; 
x++0
)
200
0
    dim[x] = 1;
201
110
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++88
)
202
88
    dim[x] = tv->info.dim[x - offset];
203
22
}
Unexecuted instantiation: _ccv_nnc_conv_cpu_4x4_3x3_winograd.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: _ccv_nnc_conv_cpu_fft.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: _ccv_nnc_conv_cpu_gemm.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: _ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_convolution.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_softmax_crossentropy.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_pool.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_cmp.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_binary_crossentropy.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_categorical_crossentropy.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_smooth_l1.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_nms.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_blas.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: _ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: _ccv_nnc_gemm_cpu_sys.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_upsample.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_roi_align.c:ccv_nnc_tensor_view_get_dim
Unexecuted instantiation: ccv_nnc_sigmoid.c:ccv_nnc_tensor_view_get_dim
204
205
static inline CCV_WARN_UNUSED(int) ccv_nnc_tensor_view_check_dim(const ccv_nnc_tensor_view_t* const tv, const int dim[CCV_NNC_MAX_DIM_ALLOC])
206
396k
{
207
396k
  int x;
208
396k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
209
396k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
210
1.41M
  for (x = 0; x < offset; 
x++1.01M
)
211
1.01M
    if (dim[x] != 1)
212
119
      return 0;
213
965k
  
for (x = offset; 396k
x < CCV_NNC_MAX_DIM + 2;
x++568k
)
214
569k
    if (dim[x] != tv->info.dim[x - offset])
215
26
      return 0;
216
396k
  
return 1396k
;
217
396k
}
Unexecuted instantiation: gradient.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: upsample.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: concat.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: tensor.bind.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: backward.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: graph.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: case_of.backward.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: while.backward.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: autograd.vector.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: dropout.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: custom.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: reduce.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: batch.norm.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: crossentropy.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: cnnp.core.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: symbolic.graph.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: case_of.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: micro.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: compression.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: transform.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: dataframe.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: gemm.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: roi_align.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: swish.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: index.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: minimize.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: symbolic.graph.compile.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: autograd.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: tensor.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: rand.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: while.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: nms.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: graph.io.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: cblas.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: simplify.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: numa.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: tape.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: dynamic.graph.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: layer.norm.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: parallel.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: winograd.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: dataframe.addons.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: broadcast.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: compare.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: smooth_l1.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: forward.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: cublas.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: symbolic.graph.vgg.d.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: imdb.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: graph.vgg.d.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: random.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: cudnn.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: dense.net.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: cifar.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: rmsprop.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: sgd.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: nccl.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: schedule.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: loss.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: adam.tests.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_cmd.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_tensor.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_tensor_io.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_stream.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_micro.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_micro_core.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_micro_interpret.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_micro_simplify.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_graph.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_io.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_compile.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_backward.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_while.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_graph_while.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_tensor_tape.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_case_of.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_graph_case_of.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_minimize.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_parallel.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_simplify.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_memory_compression.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_graph_run.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph_alloc.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph_backward.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph_apply_gradients.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph_minimize.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph_evaluate.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_cnnp_dataframe.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_cnnp_dataframe_core.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_cnnp_dataframe_addons.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_cnnp_dataframe_csv.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_cnnp_model.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_cnnp_model_io.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_cnnp_model_core.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_cnnp_model_addons.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_rand_uniform_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_rand_normal_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_conv_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_swish_cpu_ref.c:ccv_nnc_tensor_view_check_dim
ccv_nnc_dropout_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Line
Count
Source
206
6
{
207
6
  int x;
208
6
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
209
6
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
210
18
  for (x = 0; x < offset; 
x++12
)
211
12
    if (dim[x] != 1)
212
0
      return 0;
213
18
  
for (x = offset; 6
x < CCV_NNC_MAX_DIM + 2;
x++12
)
214
12
    if (dim[x] != tv->info.dim[x - offset])
215
0
      return 0;
216
6
  return 1;
217
6
}
Unexecuted instantiation: ccv_nnc_softmax_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_check_dim
ccv_nnc_sgd_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Line
Count
Source
206
70.8k
{
207
70.8k
  int x;
208
70.8k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
209
70.8k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
210
243k
  for (x = 0; x < offset; 
x++172k
)
211
172k
    if (dim[x] != 1)
212
0
      return 0;
213
182k
  
for (x = offset; 70.8k
x < CCV_NNC_MAX_DIM + 2;
x++111k
)
214
111k
    if (dim[x] != tv->info.dim[x - offset])
215
0
      return 0;
216
70.8k
  return 1;
217
70.8k
}
Unexecuted instantiation: ccv_nnc_max_pool_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_avg_pool_cpu_ref.c:ccv_nnc_tensor_view_check_dim
ccv_nnc_sigmoid_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Line
Count
Source
206
56
{
207
56
  int x;
208
56
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
209
56
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
210
168
  for (x = 0; x < offset; 
x++112
)
211
112
    if (dim[x] != 1)
212
0
      return 0;
213
168
  
for (x = offset; 56
x < CCV_NNC_MAX_DIM + 2;
x++112
)
214
112
    if (dim[x] != tv->info.dim[x - offset])
215
0
      return 0;
216
56
  return 1;
217
56
}
Unexecuted instantiation: ccv_nnc_lssc_cpu_ref.c:ccv_nnc_tensor_view_check_dim
ccv_nnc_min_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Line
Count
Source
206
26
{
207
26
  int x;
208
26
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
209
26
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
210
58
  for (x = 0; x < offset; 
x++32
)
211
32
    if (dim[x] != 1)
212
0
      return 0;
213
98
  
for (x = offset; 26
x < CCV_NNC_MAX_DIM + 2;
x++72
)
214
72
    if (dim[x] != tv->info.dim[x - offset])
215
0
      return 0;
216
26
  return 1;
217
26
}
ccv_nnc_max_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Line
Count
Source
206
26
{
207
26
  int x;
208
26
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
209
26
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
210
58
  for (x = 0; x < offset; 
x++32
)
211
32
    if (dim[x] != 1)
212
0
      return 0;
213
98
  
for (x = offset; 26
x < CCV_NNC_MAX_DIM + 2;
x++72
)
214
72
    if (dim[x] != tv->info.dim[x - offset])
215
0
      return 0;
216
26
  return 1;
217
26
}
Unexecuted instantiation: ccv_nnc_softmax_cpu_ref.c:ccv_nnc_tensor_view_check_dim
ccv_nnc_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Line
Count
Source
206
34
{
207
34
  int x;
208
34
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
209
34
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
210
102
  for (x = 0; x < offset; 
x++68
)
211
68
    if (dim[x] != 1)
212
0
      return 0;
213
102
  
for (x = offset; 34
x < CCV_NNC_MAX_DIM + 2;
x++68
)
214
68
    if (dim[x] != tv->info.dim[x - offset])
215
0
      return 0;
216
34
  return 1;
217
34
}
Unexecuted instantiation: ccv_nnc_categorical_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_check_dim
ccv_nnc_smooth_l1_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Line
Count
Source
206
10
{
207
10
  int x;
208
10
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
209
10
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
210
30
  for (x = 0; x < offset; 
x++20
)
211
20
    if (dim[x] != 1)
212
0
      return 0;
213
30
  
for (x = offset; 10
x < CCV_NNC_MAX_DIM + 2;
x++20
)
214
20
    if (dim[x] != tv->info.dim[x - offset])
215
0
      return 0;
216
10
  return 1;
217
10
}
Unexecuted instantiation: ccv_nnc_relu_cpu_ref.c:ccv_nnc_tensor_view_check_dim
ccv_nnc_adam_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Line
Count
Source
206
6.01k
{
207
6.01k
  int x;
208
6.01k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
209
6.01k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
210
18.0k
  for (x = 0; x < offset; 
x++12.0k
)
211
12.0k
    if (dim[x] != 1)
212
0
      return 0;
213
18.0k
  
for (x = offset; 6.01k
x < CCV_NNC_MAX_DIM + 2;
x++12.0k
)
214
12.0k
    if (dim[x] != tv->info.dim[x - offset])
215
0
      return 0;
216
6.01k
  return 1;
217
6.01k
}
Unexecuted instantiation: ccv_nnc_nms_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_gemm_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_view_check_dim
ccv_nnc_add_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Line
Count
Source
206
57.8k
{
207
57.8k
  int x;
208
57.8k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
209
57.8k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
210
213k
  for (x = 0; x < offset; 
x++155k
)
211
155k
    if (dim[x] != 1)
212
106
      return 0;
213
133k
  
for (x = offset; 57.7k
x < CCV_NNC_MAX_DIM + 2;
x++75.9k
)
214
75.9k
    if (dim[x] != tv->info.dim[x - offset])
215
14
      return 0;
216
57.7k
  
return 157.7k
;
217
57.7k
}
ccv_nnc_mul_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Line
Count
Source
206
32.1k
{
207
32.1k
  int x;
208
32.1k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
209
32.1k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
210
128k
  for (x = 0; x < offset; 
x++96.4k
)
211
96.4k
    if (dim[x] != 1)
212
7
      return 0;
213
64.4k
  
for (x = offset; 32.1k
x < CCV_NNC_MAX_DIM + 2;
x++32.2k
)
214
32.2k
    if (dim[x] != tv->info.dim[x - offset])
215
12
      return 0;
216
32.1k
  
return 132.1k
;
217
32.1k
}
Unexecuted instantiation: ccv_nnc_upsample_cpu_ref.c:ccv_nnc_tensor_view_check_dim
ccv_nnc_util_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Line
Count
Source
206
29
{
207
29
  int x;
208
29
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
209
29
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
210
73
  for (x = 0; x < offset; 
x++44
)
211
50
    if (dim[x] != 1)
212
6
      return 0;
213
77
  
for (x = offset; 23
x < CCV_NNC_MAX_DIM + 2;
x++54
)
214
54
    if (dim[x] != tv->info.dim[x - offset])
215
0
      return 0;
216
23
  return 1;
217
23
}
Unexecuted instantiation: ccv_nnc_roi_align_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_sigmoid_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_index_select_cpu_ref.c:ccv_nnc_tensor_view_check_dim
ccv_nnc_rmsprop_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Line
Count
Source
206
6.01k
{
207
6.01k
  int x;
208
6.01k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
209
6.01k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
210
18.0k
  for (x = 0; x < offset; 
x++12.0k
)
211
12.0k
    if (dim[x] != 1)
212
0
      return 0;
213
18.0k
  
for (x = offset; 6.01k
x < CCV_NNC_MAX_DIM + 2;
x++12.0k
)
214
12.0k
    if (dim[x] != tv->info.dim[x - offset])
215
0
      return 0;
216
6.01k
  return 1;
217
6.01k
}
ccv_nnc_ew_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Line
Count
Source
206
222k
{
207
222k
  int x;
208
222k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
209
222k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
210
789k
  for (x = 0; x < offset; 
x++566k
)
211
566k
    if (dim[x] != 1)
212
0
      return 0;
213
547k
  
for (x = offset; 222k
x < CCV_NNC_MAX_DIM + 2;
x++324k
)
214
324k
    if (dim[x] != tv->info.dim[x - offset])
215
0
      return 0;
216
222k
  return 1;
217
222k
}
Unexecuted instantiation: ccv_nnc_reduce_sum_cpu_ref.c:ccv_nnc_tensor_view_check_dim
ccv_nnc_reduce_max_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Line
Count
Source
206
2
{
207
2
  int x;
208
2
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
209
2
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
210
8
  for (x = 0; x < offset; 
x++6
)
211
6
    if (dim[x] != 1)
212
0
      return 0;
213
4
  
for (x = offset; 2
x < CCV_NNC_MAX_DIM + 2;
x++2
)
214
2
    if (dim[x] != tv->info.dim[x - offset])
215
0
      return 0;
216
2
  return 1;
217
2
}
ccv_nnc_batch_norm_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Line
Count
Source
206
162
{
207
162
  int x;
208
162
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
209
162
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
210
546
  for (x = 0; x < offset; 
x++384
)
211
384
    if (dim[x] != 1)
212
0
      return 0;
213
426
  
for (x = offset; 162
x < CCV_NNC_MAX_DIM + 2;
x++264
)
214
264
    if (dim[x] != tv->info.dim[x - offset])
215
0
      return 0;
216
162
  return 1;
217
162
}
ccv_nnc_layer_norm_cpu_ref.c:ccv_nnc_tensor_view_check_dim
Line
Count
Source
206
16
{
207
16
  int x;
208
16
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
209
16
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
210
16
  for (x = 0; x < offset; 
x++0
)
211
0
    if (dim[x] != 1)
212
0
      return 0;
213
80
  
for (x = offset; 16
x < CCV_NNC_MAX_DIM + 2;
x++64
)
214
64
    if (dim[x] != tv->info.dim[x - offset])
215
0
      return 0;
216
16
  return 1;
217
16
}
Unexecuted instantiation: _ccv_nnc_conv_cpu_4x4_3x3_winograd.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: _ccv_nnc_conv_cpu_fft.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: _ccv_nnc_conv_cpu_gemm.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: _ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_convolution.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_softmax_crossentropy.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_pool.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_cmp.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_binary_crossentropy.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_categorical_crossentropy.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_smooth_l1.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_nms.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_blas.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: _ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: _ccv_nnc_gemm_cpu_sys.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_upsample.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_roi_align.c:ccv_nnc_tensor_view_check_dim
Unexecuted instantiation: ccv_nnc_sigmoid.c:ccv_nnc_tensor_view_check_dim
218
219
static inline void ccv_nnc_tensor_view_get_broadcast_dim(const ccv_nnc_tensor_view_t* const tv, int dim[CCV_NNC_MAX_DIM_ALLOC])
220
27.9k
{
221
27.9k
  int x;
222
27.9k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
223
27.9k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
224
107k
  for (x = 0; x < offset; 
x++79.3k
)
225
79.3k
    dim[x] = ccv_max(1, dim[x]);
226
60.3k
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++32.4k
)
227
32.4k
    dim[x] = ccv_max(dim[x], tv->info.dim[x - offset]);
228
27.9k
}
Unexecuted instantiation: gradient.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: upsample.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: concat.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: tensor.bind.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: backward.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: graph.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: case_of.backward.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: while.backward.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: autograd.vector.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: dropout.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: custom.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: reduce.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: batch.norm.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: crossentropy.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: cnnp.core.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: symbolic.graph.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: case_of.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: micro.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: compression.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: transform.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: dataframe.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: gemm.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: roi_align.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: swish.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: index.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: minimize.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: symbolic.graph.compile.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: autograd.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: tensor.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: rand.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: while.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: nms.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: graph.io.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: cblas.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: simplify.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: numa.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: tape.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: dynamic.graph.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: layer.norm.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: parallel.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: winograd.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: dataframe.addons.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: broadcast.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: compare.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: smooth_l1.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: forward.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: cublas.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: symbolic.graph.vgg.d.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: imdb.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: graph.vgg.d.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: random.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: cudnn.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: dense.net.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: cifar.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: rmsprop.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: sgd.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: nccl.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: schedule.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: loss.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: adam.tests.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_cmd.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_tensor.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_tensor_io.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_stream.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_micro.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_micro_core.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_micro_interpret.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_micro_simplify.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_graph.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_io.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_compile.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_backward.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_while.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_graph_while.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_tensor_tape.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_case_of.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_graph_case_of.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_minimize.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_parallel.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_simplify.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_memory_compression.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_graph_run.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph_alloc.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph_backward.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph_apply_gradients.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph_minimize.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph_evaluate.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_cnnp_dataframe.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_cnnp_dataframe_core.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_cnnp_dataframe_addons.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_cnnp_dataframe_csv.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_cnnp_model.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_cnnp_model_io.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_cnnp_model_core.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_cnnp_model_addons.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_rand_uniform_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_rand_normal_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_conv_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_swish_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_dropout_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_softmax_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_sgd_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_max_pool_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_avg_pool_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_lssc_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_min_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_max_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_softmax_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_categorical_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_smooth_l1_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_relu_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_adam_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_nms_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_gemm_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_view_get_broadcast_dim
ccv_nnc_add_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Line
Count
Source
220
11.8k
{
221
11.8k
  int x;
222
11.8k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
223
11.8k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
224
43.0k
  for (x = 0; x < offset; 
x++31.1k
)
225
31.1k
    dim[x] = ccv_max(1, dim[x]);
226
28.2k
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++16.3k
)
227
16.3k
    dim[x] = ccv_max(dim[x], tv->info.dim[x - offset]);
228
11.8k
}
ccv_nnc_mul_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Line
Count
Source
220
16.0k
{
221
16.0k
  int x;
222
16.0k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
223
16.0k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
224
64.2k
  for (x = 0; x < offset; 
x++48.1k
)
225
48.1k
    dim[x] = ccv_max(1, dim[x]);
226
32.1k
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++16.0k
)
227
16.0k
    dim[x] = ccv_max(dim[x], tv->info.dim[x - offset]);
228
16.0k
}
Unexecuted instantiation: ccv_nnc_upsample_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
ccv_nnc_util_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Line
Count
Source
220
6
{
221
6
  int x;
222
6
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
223
6
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
224
18
  for (x = 0; x < offset; 
x++12
)
225
12
    dim[x] = ccv_max(1, dim[x]);
226
18
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++12
)
227
12
    dim[x] = ccv_max(dim[x], tv->info.dim[x - offset]);
228
6
}
Unexecuted instantiation: ccv_nnc_roi_align_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_sigmoid_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_index_select_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_rmsprop_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_ew_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_reduce_sum_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_reduce_max_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_batch_norm_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_layer_norm_cpu_ref.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: _ccv_nnc_conv_cpu_4x4_3x3_winograd.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: _ccv_nnc_conv_cpu_fft.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: _ccv_nnc_conv_cpu_gemm.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: _ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_convolution.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_softmax_crossentropy.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_pool.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_cmp.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_binary_crossentropy.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_categorical_crossentropy.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_smooth_l1.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_nms.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_blas.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: _ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: _ccv_nnc_gemm_cpu_sys.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_upsample.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_roi_align.c:ccv_nnc_tensor_view_get_broadcast_dim
Unexecuted instantiation: ccv_nnc_sigmoid.c:ccv_nnc_tensor_view_get_broadcast_dim
229
230
static inline CCV_WARN_UNUSED(int) ccv_nnc_tensor_view_check_broadcast_dim(const ccv_nnc_tensor_view_t* const tv, int dim[CCV_NNC_MAX_DIM_ALLOC])
231
48.9k
{
232
48.9k
  int x;
233
48.9k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
234
48.9k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
235
111k
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++63.0k
)
236
63.0k
    if (dim[x] != tv->info.dim[x - offset] && 
tv->info.dim[x - offset] != 110.0k
)
237
0
      return 0;
238
48.9k
  return 1;
239
48.9k
}
Unexecuted instantiation: gradient.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: upsample.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: concat.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: tensor.bind.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: backward.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: graph.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: case_of.backward.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: while.backward.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: autograd.vector.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: dropout.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: custom.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: reduce.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: batch.norm.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: crossentropy.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: cnnp.core.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: symbolic.graph.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: case_of.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: micro.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: compression.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: transform.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: dataframe.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: gemm.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: roi_align.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: swish.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: index.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: minimize.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: symbolic.graph.compile.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: autograd.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: tensor.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: rand.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: while.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: nms.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: graph.io.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: cblas.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: simplify.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: numa.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: tape.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: dynamic.graph.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: layer.norm.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: parallel.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: winograd.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: dataframe.addons.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: broadcast.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: compare.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: smooth_l1.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: forward.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: cublas.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: symbolic.graph.vgg.d.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: imdb.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: graph.vgg.d.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: random.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: cudnn.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: dense.net.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: cifar.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: rmsprop.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: sgd.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: nccl.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: schedule.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: loss.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: adam.tests.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_cmd.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_tensor.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_tensor_io.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_stream.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_micro.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_micro_core.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_micro_interpret.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_micro_simplify.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_graph.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_io.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_compile.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_backward.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_while.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_graph_while.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_tensor_tape.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_case_of.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_graph_case_of.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_minimize.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_parallel.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_simplify.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_symbolic_graph_memory_compression.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_graph_run.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph_alloc.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph_backward.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph_apply_gradients.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph_minimize.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_dynamic_graph_evaluate.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_cnnp_dataframe.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_cnnp_dataframe_core.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_cnnp_dataframe_addons.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_cnnp_dataframe_csv.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_cnnp_model.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_cnnp_model_io.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_cnnp_model_core.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_cnnp_model_addons.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_rand_uniform_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_rand_normal_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_conv_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_swish_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_dropout_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_softmax_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_sgd_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_max_pool_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_avg_pool_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_lssc_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_min_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_max_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_softmax_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_categorical_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_smooth_l1_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_relu_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_adam_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_nms_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_gemm_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_view_check_broadcast_dim
ccv_nnc_add_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Line
Count
Source
231
23.7k
{
232
23.7k
  int x;
233
23.7k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
234
23.7k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
235
56.6k
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++32.8k
)
236
32.8k
    if (dim[x] != tv->info.dim[x - offset] && 
tv->info.dim[x - offset] != 113
)
237
0
      return 0;
238
23.7k
  return 1;
239
23.7k
}
ccv_nnc_mul_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Line
Count
Source
231
20.0k
{
232
20.0k
  int x;
233
20.0k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
234
20.0k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
235
40.1k
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++20.0k
)
236
20.0k
    if (dim[x] != tv->info.dim[x - offset] && 
tv->info.dim[x - offset] != 112
)
237
0
      return 0;
238
20.0k
  return 1;
239
20.0k
}
Unexecuted instantiation: ccv_nnc_upsample_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
ccv_nnc_util_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Line
Count
Source
231
12
{
232
12
  int x;
233
12
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
234
12
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
235
42
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++30
)
236
30
    if (dim[x] != tv->info.dim[x - offset] && 
tv->info.dim[x - offset] != 10
)
237
0
      return 0;
238
12
  return 1;
239
12
}
Unexecuted instantiation: ccv_nnc_roi_align_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_sigmoid_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_index_select_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_rmsprop_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_ew_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
ccv_nnc_reduce_sum_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Line
Count
Source
231
5.04k
{
232
5.04k
  int x;
233
5.04k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
234
5.04k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
235
15.1k
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++10.0k
)
236
10.0k
    if (dim[x] != tv->info.dim[x - offset] && 
tv->info.dim[x - offset] != 110.0k
)
237
0
      return 0;
238
5.04k
  return 1;
239
5.04k
}
ccv_nnc_reduce_max_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Line
Count
Source
231
5
{
232
5
  int x;
233
5
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
234
5
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
235
12
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++7
)
236
7
    if (dim[x] != tv->info.dim[x - offset] && 
tv->info.dim[x - offset] != 14
)
237
0
      return 0;
238
5
  return 1;
239
5
}
Unexecuted instantiation: ccv_nnc_batch_norm_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_layer_norm_cpu_ref.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: _ccv_nnc_conv_cpu_4x4_3x3_winograd.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: _ccv_nnc_conv_cpu_fft.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: _ccv_nnc_conv_cpu_gemm.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: _ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_convolution.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_softmax_crossentropy.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_pool.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_cmp.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_binary_crossentropy.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_categorical_crossentropy.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_smooth_l1.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_nms.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_blas.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: _ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: _ccv_nnc_gemm_cpu_sys.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_upsample.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_roi_align.c:ccv_nnc_tensor_view_check_broadcast_dim
Unexecuted instantiation: ccv_nnc_sigmoid.c:ccv_nnc_tensor_view_check_broadcast_dim
240
241
static inline void ccv_nnc_tensor_view_get_inc(const ccv_nnc_tensor_view_t* const tv, int inc[CCV_NNC_MAX_DIM_ALLOC])
242
249k
{
243
249k
  int x;
244
249k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
245
249k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
246
851k
  for (x = 0; x < offset; 
x++601k
)
247
601k
    inc[x] = 1;
248
646k
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++397k
)
249
397k
    inc[x] = CCV_IS_TENSOR_VIEW(tv) ? 
tv->inc[x - offset]131
:
tv->info.dim[x - offset]396k
;
250
249k
}
Unexecuted instantiation: gradient.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: upsample.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: concat.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: tensor.bind.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: backward.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: graph.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: case_of.backward.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: while.backward.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: autograd.vector.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: dropout.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: custom.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: reduce.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: batch.norm.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: crossentropy.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: cnnp.core.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: symbolic.graph.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: case_of.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: micro.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: compression.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: transform.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: dataframe.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: gemm.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: roi_align.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: swish.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: index.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: minimize.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: symbolic.graph.compile.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: autograd.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: tensor.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: rand.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: while.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: nms.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: graph.io.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: cblas.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: simplify.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: numa.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: tape.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: dynamic.graph.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: layer.norm.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: parallel.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: winograd.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: dataframe.addons.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: broadcast.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: compare.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: smooth_l1.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: forward.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: cublas.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: symbolic.graph.vgg.d.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: imdb.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: graph.vgg.d.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: random.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: cudnn.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: dense.net.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: cifar.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: rmsprop.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: sgd.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: nccl.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: schedule.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: loss.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: adam.tests.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_cmd.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_tensor.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_tensor_io.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_stream.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_micro.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_micro_core.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_micro_interpret.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_micro_simplify.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_graph.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_symbolic_graph.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_symbolic_graph_io.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_symbolic_graph_compile.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_symbolic_graph_backward.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_symbolic_graph_while.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_graph_while.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_tensor_tape.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_symbolic_graph_case_of.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_graph_case_of.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_symbolic_graph_minimize.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_symbolic_graph_parallel.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_symbolic_graph_simplify.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_symbolic_graph_memory_compression.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_graph_run.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_dynamic_graph.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_dynamic_graph_alloc.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_dynamic_graph_backward.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_dynamic_graph_apply_gradients.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_dynamic_graph_minimize.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_dynamic_graph_evaluate.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_cnnp_dataframe.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_cnnp_dataframe_core.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_cnnp_dataframe_addons.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_cnnp_dataframe_csv.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_cnnp_model.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_cnnp_model_io.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_cnnp_model_core.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_cnnp_model_addons.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_rand_uniform_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_rand_normal_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_conv_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_swish_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_dropout_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_softmax_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_get_inc
ccv_nnc_sgd_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Line
Count
Source
242
88.5k
{
243
88.5k
  int x;
244
88.5k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
245
88.5k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
246
303k
  for (x = 0; x < offset; 
x++215k
)
247
215k
    inc[x] = 1;
248
227k
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++138k
)
249
138k
    inc[x] = CCV_IS_TENSOR_VIEW(tv) ? 
tv->inc[x - offset]0
: tv->info.dim[x - offset];
250
88.5k
}
Unexecuted instantiation: ccv_nnc_max_pool_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_avg_pool_cpu_ref.c:ccv_nnc_tensor_view_get_inc
ccv_nnc_sigmoid_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Line
Count
Source
242
96
{
243
96
  int x;
244
96
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
245
96
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
246
296
  for (x = 0; x < offset; 
x++200
)
247
200
    inc[x] = 1;
248
280
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++184
)
249
184
    inc[x] = CCV_IS_TENSOR_VIEW(tv) ? 
tv->inc[x - offset]0
: tv->info.dim[x - offset];
250
96
}
Unexecuted instantiation: ccv_nnc_lssc_cpu_ref.c:ccv_nnc_tensor_view_get_inc
ccv_nnc_min_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Line
Count
Source
242
12
{
243
12
  int x;
244
12
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
245
12
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
246
24
  for (x = 0; x < offset; 
x++12
)
247
12
    inc[x] = 1;
248
48
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++36
)
249
36
    inc[x] = CCV_IS_TENSOR_VIEW(tv) ? 
tv->inc[x - offset]18
:
tv->info.dim[x - offset]18
;
250
12
}
ccv_nnc_max_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Line
Count
Source
242
12
{
243
12
  int x;
244
12
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
245
12
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
246
24
  for (x = 0; x < offset; 
x++12
)
247
12
    inc[x] = 1;
248
48
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++36
)
249
36
    inc[x] = CCV_IS_TENSOR_VIEW(tv) ? 
tv->inc[x - offset]18
:
tv->info.dim[x - offset]18
;
250
12
}
Unexecuted instantiation: ccv_nnc_softmax_cpu_ref.c:ccv_nnc_tensor_view_get_inc
ccv_nnc_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Line
Count
Source
242
78
{
243
78
  int x;
244
78
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
245
78
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
246
250
  for (x = 0; x < offset; 
x++172
)
247
172
    inc[x] = 1;
248
218
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++140
)
249
140
    inc[x] = CCV_IS_TENSOR_VIEW(tv) ? 
tv->inc[x - offset]0
: tv->info.dim[x - offset];
250
78
}
Unexecuted instantiation: ccv_nnc_categorical_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_get_inc
ccv_nnc_smooth_l1_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Line
Count
Source
242
26
{
243
26
  int x;
244
26
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
245
26
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
246
84
  for (x = 0; x < offset; 
x++58
)
247
58
    inc[x] = 1;
248
72
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++46
)
249
46
    inc[x] = CCV_IS_TENSOR_VIEW(tv) ? 
tv->inc[x - offset]0
: tv->info.dim[x - offset];
250
26
}
Unexecuted instantiation: ccv_nnc_relu_cpu_ref.c:ccv_nnc_tensor_view_get_inc
ccv_nnc_adam_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Line
Count
Source
242
7.02k
{
243
7.02k
  int x;
244
7.02k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
245
7.02k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
246
21.0k
  for (x = 0; x < offset; 
x++14.0k
)
247
14.0k
    inc[x] = 1;
248
21.0k
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++14.0k
)
249
14.0k
    inc[x] = CCV_IS_TENSOR_VIEW(tv) ? 
tv->inc[x - offset]0
: tv->info.dim[x - offset];
250
7.02k
}
Unexecuted instantiation: ccv_nnc_nms_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_gemm_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_view_get_inc
ccv_nnc_add_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Line
Count
Source
242
12.1k
{
243
12.1k
  int x;
244
12.1k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
245
12.1k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
246
43.8k
  for (x = 0; x < offset; 
x++31.6k
)
247
31.6k
    inc[x] = 1;
248
29.1k
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++16.9k
)
249
16.9k
    inc[x] = CCV_IS_TENSOR_VIEW(tv) ? 
tv->inc[x - offset]0
: tv->info.dim[x - offset];
250
12.1k
}
ccv_nnc_mul_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Line
Count
Source
242
73
{
243
73
  int x;
244
73
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
245
73
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
246
225
  for (x = 0; x < offset; 
x++152
)
247
152
    inc[x] = 1;
248
213
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++140
)
249
140
    inc[x] = CCV_IS_TENSOR_VIEW(tv) ? 
tv->inc[x - offset]4
:
tv->info.dim[x - offset]136
;
250
73
}
ccv_nnc_upsample_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Line
Count
Source
242
8
{
243
8
  int x;
244
8
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
245
8
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
246
16
  for (x = 0; x < offset; 
x++8
)
247
8
    inc[x] = 1;
248
32
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++24
)
249
24
    inc[x] = CCV_IS_TENSOR_VIEW(tv) ? 
tv->inc[x - offset]0
: tv->info.dim[x - offset];
250
8
}
ccv_nnc_util_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Line
Count
Source
242
76
{
243
76
  int x;
244
76
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
245
76
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
246
180
  for (x = 0; x < offset; 
x++104
)
247
104
    inc[x] = 1;
248
276
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++200
)
249
200
    inc[x] = CCV_IS_TENSOR_VIEW(tv) ? 
tv->inc[x - offset]33
:
tv->info.dim[x - offset]167
;
250
76
}
Unexecuted instantiation: ccv_nnc_roi_align_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_sigmoid_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_index_select_cpu_ref.c:ccv_nnc_tensor_view_get_inc
ccv_nnc_rmsprop_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Line
Count
Source
242
7.02k
{
243
7.02k
  int x;
244
7.02k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
245
7.02k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
246
21.0k
  for (x = 0; x < offset; 
x++14.0k
)
247
14.0k
    inc[x] = 1;
248
21.0k
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++14.0k
)
249
14.0k
    inc[x] = CCV_IS_TENSOR_VIEW(tv) ? 
tv->inc[x - offset]0
: tv->info.dim[x - offset];
250
7.02k
}
ccv_nnc_ew_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Line
Count
Source
242
114k
{
243
114k
  int x;
244
114k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
245
114k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
246
399k
  for (x = 0; x < offset; 
x++285k
)
247
285k
    inc[x] = 1;
248
285k
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++171k
)
249
171k
    inc[x] = CCV_IS_TENSOR_VIEW(tv) ? 
tv->inc[x - offset]58
:
tv->info.dim[x - offset]171k
;
250
114k
}
ccv_nnc_reduce_sum_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Line
Count
Source
242
20.1k
{
243
20.1k
  int x;
244
20.1k
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
245
20.1k
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
246
60.2k
  for (x = 0; x < offset; 
x++40.1k
)
247
40.1k
    inc[x] = 1;
248
60.4k
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++40.3k
)
249
40.3k
    inc[x] = CCV_IS_TENSOR_VIEW(tv) ? 
tv->inc[x - offset]0
: tv->info.dim[x - offset];
250
20.1k
}
ccv_nnc_reduce_max_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Line
Count
Source
242
12
{
243
12
  int x;
244
12
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
245
12
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
246
43
  for (x = 0; x < offset; 
x++31
)
247
31
    inc[x] = 1;
248
29
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++17
)
249
17
    inc[x] = CCV_IS_TENSOR_VIEW(tv) ? 
tv->inc[x - offset]0
: tv->info.dim[x - offset];
250
12
}
ccv_nnc_batch_norm_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Line
Count
Source
242
165
{
243
165
  int x;
244
165
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
245
165
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
246
477
  for (x = 0; x < offset; 
x++312
)
247
312
    inc[x] = 1;
248
513
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++348
)
249
348
    inc[x] = CCV_IS_TENSOR_VIEW(tv) ? 
tv->inc[x - offset]0
: tv->info.dim[x - offset];
250
165
}
ccv_nnc_layer_norm_cpu_ref.c:ccv_nnc_tensor_view_get_inc
Line
Count
Source
242
38
{
243
38
  int x;
244
38
  const int nd = ccv_nnc_tensor_nd(tv->info.dim);
245
38
  const int offset = CCV_NNC_MAX_DIM + 2 - nd;
246
38
  for (x = 0; x < offset; 
x++0
)
247
0
    inc[x] = 1;
248
190
  for (x = offset; x < CCV_NNC_MAX_DIM + 2; 
x++152
)
249
152
    inc[x] = CCV_IS_TENSOR_VIEW(tv) ? 
tv->inc[x - offset]0
: tv->info.dim[x - offset];
250
38
}
Unexecuted instantiation: _ccv_nnc_conv_cpu_4x4_3x3_winograd.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: _ccv_nnc_conv_cpu_fft.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: _ccv_nnc_conv_cpu_gemm.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: _ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_convolution.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_softmax_crossentropy.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_pool.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_cmp.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_binary_crossentropy.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_categorical_crossentropy.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_smooth_l1.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_nms.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_blas.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: _ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: _ccv_nnc_gemm_cpu_sys.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_upsample.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_roi_align.c:ccv_nnc_tensor_view_get_inc
Unexecuted instantiation: ccv_nnc_sigmoid.c:ccv_nnc_tensor_view_get_inc
251
252
static inline int ccv_nnc_tensor_get_n(const ccv_nnc_tensor_param_t params)
253
4.44k
{
254
4.44k
  switch (params.format)
255
4.44k
  {
256
4.44k
    case CCV_TENSOR_FORMAT_NHWC:
257
4.44k
    case CCV_TENSOR_FORMAT_NCHW:
258
4.44k
      if (ccv_nnc_tensor_nd(params.dim) == CCV_NNC_MAX_DIM + 1)
259
60
        return 1;
260
4.38k
      else
261
4.38k
        return params.dim[0];
262
0
    case CCV_TENSOR_FORMAT_CHWN:
263
0
      return params.dim[CCV_NNC_MAX_DIM + 1];
264
0
  }
265
0
  return 0;
266
0
}
Unexecuted instantiation: gradient.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: upsample.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: concat.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: tensor.bind.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: backward.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: graph.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: case_of.backward.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: while.backward.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: autograd.vector.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: dropout.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: custom.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: reduce.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: batch.norm.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: crossentropy.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: cnnp.core.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: symbolic.graph.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: case_of.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: micro.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: compression.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: transform.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: dataframe.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: gemm.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: roi_align.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: swish.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: index.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: minimize.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: symbolic.graph.compile.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: autograd.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: tensor.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: rand.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: while.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: nms.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: graph.io.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: cblas.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: simplify.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: numa.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: tape.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: dynamic.graph.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: layer.norm.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: parallel.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: winograd.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: dataframe.addons.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: broadcast.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: compare.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: smooth_l1.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: forward.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: cublas.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: symbolic.graph.vgg.d.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: imdb.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: graph.vgg.d.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: random.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: cudnn.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: dense.net.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: cifar.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: rmsprop.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: sgd.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: nccl.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: schedule.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: loss.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: adam.tests.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_cmd.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_tensor.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_tensor_io.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_stream.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_micro.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_micro_core.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_micro_interpret.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_micro_simplify.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_graph.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_symbolic_graph.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_symbolic_graph_io.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_symbolic_graph_compile.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_symbolic_graph_backward.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_symbolic_graph_while.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_graph_while.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_tensor_tape.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_symbolic_graph_case_of.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_graph_case_of.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_symbolic_graph_minimize.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_symbolic_graph_parallel.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_symbolic_graph_simplify.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_symbolic_graph_memory_compression.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_graph_run.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_dynamic_graph.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_dynamic_graph_alloc.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_dynamic_graph_backward.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_dynamic_graph_apply_gradients.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_dynamic_graph_minimize.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_dynamic_graph_evaluate.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_cnnp_dataframe.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_cnnp_dataframe_core.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_cnnp_dataframe_addons.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_cnnp_dataframe_csv.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_cnnp_model.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_cnnp_model_io.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_cnnp_model_core.c:ccv_nnc_tensor_get_n
ccv_cnnp_model_addons.c:ccv_nnc_tensor_get_n
Line
Count
Source
253
43
{
254
43
  switch (params.format)
255
43
  {
256
43
    case CCV_TENSOR_FORMAT_NHWC:
257
43
    case CCV_TENSOR_FORMAT_NCHW:
258
43
      if (ccv_nnc_tensor_nd(params.dim) == CCV_NNC_MAX_DIM + 1)
259
0
        return 1;
260
43
      else
261
43
        return params.dim[0];
262
0
    case CCV_TENSOR_FORMAT_CHWN:
263
0
      return params.dim[CCV_NNC_MAX_DIM + 1];
264
0
  }
265
0
  return 0;
266
0
}
Unexecuted instantiation: ccv_nnc_rand_uniform_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_rand_normal_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_conv_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_swish_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_dropout_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_softmax_crossentropy_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_sgd_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_max_pool_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_avg_pool_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_get_n
ccv_nnc_lssc_cpu_ref.c:ccv_nnc_tensor_get_n
Line
Count
Source
253
24
{
254
24
  switch (params.format)
255
24
  {
256
24
    case CCV_TENSOR_FORMAT_NHWC:
257
24
    case CCV_TENSOR_FORMAT_NCHW:
258
24
      if (ccv_nnc_tensor_nd(params.dim) == CCV_NNC_MAX_DIM + 1)
259
8
        return 1;
260
16
      else
261
16
        return params.dim[0];
262
0
    case CCV_TENSOR_FORMAT_CHWN:
263
0
      return params.dim[CCV_NNC_MAX_DIM + 1];
264
0
  }
265
0
  return 0;
266
0
}
Unexecuted instantiation: ccv_nnc_min_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_max_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_softmax_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_categorical_crossentropy_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_smooth_l1_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_relu_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_adam_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_nms_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_gemm_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_add_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_mul_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_upsample_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_util_cpu_ref.c:ccv_nnc_tensor_get_n
ccv_nnc_roi_align_cpu_ref.c:ccv_nnc_tensor_get_n
Line
Count
Source
253
26
{
254
26
  switch (params.format)
255
26
  {
256
26
    case CCV_TENSOR_FORMAT_NHWC:
257
26
    case CCV_TENSOR_FORMAT_NCHW:
258
26
      if (ccv_nnc_tensor_nd(params.dim) == CCV_NNC_MAX_DIM + 1)
259
14
        return 1;
260
12
      else
261
12
        return params.dim[0];
262
0
    case CCV_TENSOR_FORMAT_CHWN:
263
0
      return params.dim[CCV_NNC_MAX_DIM + 1];
264
0
  }
265
0
  return 0;
266
0
}
Unexecuted instantiation: ccv_nnc_sigmoid_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_index_select_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_rmsprop_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_ew_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_reduce_sum_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_reduce_max_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_batch_norm_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_layer_norm_cpu_ref.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: _ccv_nnc_conv_cpu_4x4_3x3_winograd.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: _ccv_nnc_conv_cpu_fft.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: _ccv_nnc_conv_cpu_gemm.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: _ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_get_n
ccv_nnc_convolution.c:ccv_nnc_tensor_get_n
Line
Count
Source
253
4.35k
{
254
4.35k
  switch (params.format)
255
4.35k
  {
256
4.35k
    case CCV_TENSOR_FORMAT_NHWC:
257
4.35k
    case CCV_TENSOR_FORMAT_NCHW:
258
4.35k
      if (ccv_nnc_tensor_nd(params.dim) == CCV_NNC_MAX_DIM + 1)
259
38
        return 1;
260
4.31k
      else
261
4.31k
        return params.dim[0];
262
0
    case CCV_TENSOR_FORMAT_CHWN:
263
0
      return params.dim[CCV_NNC_MAX_DIM + 1];
264
0
  }
265
0
  return 0;
266
0
}
Unexecuted instantiation: ccv_nnc_softmax_crossentropy.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_pool.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_cmp.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_binary_crossentropy.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_categorical_crossentropy.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_smooth_l1.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_nms.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_blas.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: _ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: _ccv_nnc_gemm_cpu_sys.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_upsample.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_roi_align.c:ccv_nnc_tensor_get_n
Unexecuted instantiation: ccv_nnc_sigmoid.c:ccv_nnc_tensor_get_n
267
268
static inline int ccv_nnc_tensor_get_c(const ccv_nnc_tensor_param_t params)
269
142k
{
270
142k
  switch (params.format)
271
142k
  {
272
140k
    case CCV_TENSOR_FORMAT_NHWC:
273
140k
      return params.dim[ccv_nnc_tensor_nd(params.dim) - 1];
274
722
    case CCV_TENSOR_FORMAT_NCHW:
275
722
      if (ccv_nnc_tensor_nd(params.dim) == CCV_NNC_MAX_DIM + 1)
276
8
        return params.dim[0];
277
714
      else
278
714
        return params.dim[1];
279
0
    case CCV_TENSOR_FORMAT_CHWN:
280
0
      return params.dim[0];
281
0
  }
282
0
  return 0;
283
0
}
Unexecuted instantiation: gradient.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: upsample.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: concat.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: tensor.bind.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: backward.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: graph.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: case_of.backward.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: while.backward.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: autograd.vector.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: dropout.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: custom.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: reduce.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: batch.norm.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: crossentropy.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: cnnp.core.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: symbolic.graph.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: case_of.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: micro.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: compression.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: transform.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: dataframe.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: gemm.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: roi_align.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: swish.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: index.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: minimize.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: symbolic.graph.compile.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: autograd.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: tensor.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: rand.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: while.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: nms.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: graph.io.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: cblas.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: simplify.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: numa.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: tape.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: dynamic.graph.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: layer.norm.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: parallel.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: winograd.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: dataframe.addons.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: broadcast.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: compare.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: smooth_l1.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: forward.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: cublas.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: symbolic.graph.vgg.d.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: imdb.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: graph.vgg.d.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: random.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: cudnn.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: dense.net.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: cifar.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: rmsprop.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: sgd.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: nccl.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: schedule.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: loss.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: adam.tests.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_cmd.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_tensor.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_tensor_io.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_stream.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_micro.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_micro_core.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_micro_interpret.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_micro_simplify.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_graph.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_symbolic_graph.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_symbolic_graph_io.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_symbolic_graph_compile.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_symbolic_graph_backward.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_symbolic_graph_while.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_graph_while.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_tensor_tape.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_symbolic_graph_case_of.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_graph_case_of.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_symbolic_graph_minimize.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_symbolic_graph_parallel.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_symbolic_graph_simplify.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_symbolic_graph_memory_compression.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_graph_run.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_dynamic_graph.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_dynamic_graph_alloc.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_dynamic_graph_backward.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_dynamic_graph_apply_gradients.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_dynamic_graph_minimize.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_dynamic_graph_evaluate.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_cnnp_dataframe.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_cnnp_dataframe_core.c:ccv_nnc_tensor_get_c
ccv_cnnp_dataframe_addons.c:ccv_nnc_tensor_get_c
Line
Count
Source
269
141k
{
270
141k
  switch (params.format)
271
141k
  {
272
140k
    case CCV_TENSOR_FORMAT_NHWC:
273
140k
      return params.dim[ccv_nnc_tensor_nd(params.dim) - 1];
274
0
    case CCV_TENSOR_FORMAT_NCHW:
275
0
      if (ccv_nnc_tensor_nd(params.dim) == CCV_NNC_MAX_DIM + 1)
276
0
        return params.dim[0];
277
0
      else
278
0
        return params.dim[1];
279
0
    case CCV_TENSOR_FORMAT_CHWN:
280
0
      return params.dim[0];
281
0
  }
282
0
  return 0;
283
0
}
Unexecuted instantiation: ccv_cnnp_dataframe_csv.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_cnnp_model.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_cnnp_model_io.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_cnnp_model_core.c:ccv_nnc_tensor_get_c
ccv_cnnp_model_addons.c:ccv_nnc_tensor_get_c
Line
Count
Source
269
297
{
270
297
  switch (params.format)
271
297
  {
272
24
    case CCV_TENSOR_FORMAT_NHWC:
273
24
      return params.dim[ccv_nnc_tensor_nd(params.dim) - 1];
274
273
    case CCV_TENSOR_FORMAT_NCHW:
275
273
      if (ccv_nnc_tensor_nd(params.dim) == CCV_NNC_MAX_DIM + 1)
276
0
        return params.dim[0];
277
273
      else
278
273
        return params.dim[1];
279
0
    case CCV_TENSOR_FORMAT_CHWN:
280
0
      return params.dim[0];
281
0
  }
282
0
  return 0;
283
0
}
Unexecuted instantiation: ccv_nnc_rand_uniform_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_rand_normal_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_conv_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_swish_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_dropout_cpu_ref.c:ccv_nnc_tensor_get_c
ccv_nnc_softmax_crossentropy_cpu_ref.c:ccv_nnc_tensor_get_c
Line
Count
Source
269
4
{
270
4
  switch (params.format)
271
4
  {
272
4
    case CCV_TENSOR_FORMAT_NHWC:
273
4
      return params.dim[ccv_nnc_tensor_nd(params.dim) - 1];
274
0
    case CCV_TENSOR_FORMAT_NCHW:
275
0
      if (ccv_nnc_tensor_nd(params.dim) == CCV_NNC_MAX_DIM + 1)
276
0
        return params.dim[0];
277
0
      else
278
0
        return params.dim[1];
279
0
    case CCV_TENSOR_FORMAT_CHWN:
280
0
      return params.dim[0];
281
0
  }
282
0
  return 0;
283
0
}
Unexecuted instantiation: ccv_nnc_sgd_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_max_pool_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_avg_pool_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_get_c
ccv_nnc_lssc_cpu_ref.c:ccv_nnc_tensor_get_c
Line
Count
Source
269
24
{
270
24
  switch (params.format)
271
24
  {
272
0
    case CCV_TENSOR_FORMAT_NHWC:
273
0
      return params.dim[ccv_nnc_tensor_nd(params.dim) - 1];
274
24
    case CCV_TENSOR_FORMAT_NCHW:
275
24
      if (ccv_nnc_tensor_nd(params.dim) == CCV_NNC_MAX_DIM + 1)
276
8
        return params.dim[0];
277
16
      else
278
16
        return params.dim[1];
279
0
    case CCV_TENSOR_FORMAT_CHWN:
280
0
      return params.dim[0];
281
0
  }
282
0
  return 0;
283
0
}
Unexecuted instantiation: ccv_nnc_min_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_max_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_softmax_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_get_c
ccv_nnc_categorical_crossentropy_cpu_ref.c:ccv_nnc_tensor_get_c
Line
Count
Source
269
2
{
270
2
  switch (params.format)
271
2
  {
272
2
    case CCV_TENSOR_FORMAT_NHWC:
273
2
      return params.dim[ccv_nnc_tensor_nd(params.dim) - 1];
274
0
    case CCV_TENSOR_FORMAT_NCHW:
275
0
      if (ccv_nnc_tensor_nd(params.dim) == CCV_NNC_MAX_DIM + 1)
276
0
        return params.dim[0];
277
0
      else
278
0
        return params.dim[1];
279
0
    case CCV_TENSOR_FORMAT_CHWN:
280
0
      return params.dim[0];
281
0
  }
282
0
  return 0;
283
0
}
Unexecuted instantiation: ccv_nnc_smooth_l1_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_relu_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_adam_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_nms_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_gemm_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_add_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_mul_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_upsample_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_util_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_roi_align_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_sigmoid_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_index_select_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_rmsprop_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_ew_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_reduce_sum_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_reduce_max_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_batch_norm_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_layer_norm_cpu_ref.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: _ccv_nnc_conv_cpu_4x4_3x3_winograd.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: _ccv_nnc_conv_cpu_fft.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: _ccv_nnc_conv_cpu_gemm.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: _ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_convolution.c:ccv_nnc_tensor_get_c
ccv_nnc_softmax_crossentropy.c:ccv_nnc_tensor_get_c
Line
Count
Source
269
420
{
270
420
  switch (params.format)
271
420
  {
272
8
    case CCV_TENSOR_FORMAT_NHWC:
273
8
      return params.dim[ccv_nnc_tensor_nd(params.dim) - 1];
274
412
    case CCV_TENSOR_FORMAT_NCHW:
275
412
      if (ccv_nnc_tensor_nd(params.dim) == CCV_NNC_MAX_DIM + 1)
276
0
        return params.dim[0];
277
412
      else
278
412
        return params.dim[1];
279
0
    case CCV_TENSOR_FORMAT_CHWN:
280
0
      return params.dim[0];
281
0
  }
282
0
  return 0;
283
0
}
Unexecuted instantiation: ccv_nnc_pool.c:ccv_nnc_tensor_get_c
ccv_nnc_sigmoid_binary_crossentropy.c:ccv_nnc_tensor_get_c
Line
Count
Source
269
14
{
270
14
  switch (params.format)
271
14
  {
272
6
    case CCV_TENSOR_FORMAT_NHWC:
273
6
      return params.dim[ccv_nnc_tensor_nd(params.dim) - 1];
274
8
    case CCV_TENSOR_FORMAT_NCHW:
275
8
      if (ccv_nnc_tensor_nd(params.dim) == CCV_NNC_MAX_DIM + 1)
276
0
        return params.dim[0];
277
8
      else
278
8
        return params.dim[1];
279
0
    case CCV_TENSOR_FORMAT_CHWN:
280
0
      return params.dim[0];
281
0
  }
282
0
  return 0;
283
0
}
Unexecuted instantiation: ccv_nnc_cmp.c:ccv_nnc_tensor_get_c
ccv_nnc_binary_crossentropy.c:ccv_nnc_tensor_get_c
Line
Count
Source
269
6
{
270
6
  switch (params.format)
271
6
  {
272
6
    case CCV_TENSOR_FORMAT_NHWC:
273
6
      return params.dim[ccv_nnc_tensor_nd(params.dim) - 1];
274
0
    case CCV_TENSOR_FORMAT_NCHW:
275
0
      if (ccv_nnc_tensor_nd(params.dim) == CCV_NNC_MAX_DIM + 1)
276
0
        return params.dim[0];
277
0
      else
278
0
        return params.dim[1];
279
0
    case CCV_TENSOR_FORMAT_CHWN:
280
0
      return params.dim[0];
281
0
  }
282
0
  return 0;
283
0
}
ccv_nnc_categorical_crossentropy.c:ccv_nnc_tensor_get_c
Line
Count
Source
269
13
{
270
13
  switch (params.format)
271
13
  {
272
8
    case CCV_TENSOR_FORMAT_NHWC:
273
8
      return params.dim[ccv_nnc_tensor_nd(params.dim) - 1];
274
5
    case CCV_TENSOR_FORMAT_NCHW:
275
5
      if (ccv_nnc_tensor_nd(params.dim) == CCV_NNC_MAX_DIM + 1)
276
0
        return params.dim[0];
277
5
      else
278
5
        return params.dim[1];
279
0
    case CCV_TENSOR_FORMAT_CHWN:
280
0
      return params.dim[0];
281
0
  }
282
0
  return 0;
283
0
}
ccv_nnc_smooth_l1.c:ccv_nnc_tensor_get_c
Line
Count
Source
269
2
{
270
2
  switch (params.format)
271
2
  {
272
2
    case CCV_TENSOR_FORMAT_NHWC:
273
2
      return params.dim[ccv_nnc_tensor_nd(params.dim) - 1];
274
0
    case CCV_TENSOR_FORMAT_NCHW:
275
0
      if (ccv_nnc_tensor_nd(params.dim) == CCV_NNC_MAX_DIM + 1)
276
0
        return params.dim[0];
277
0
      else
278
0
        return params.dim[1];
279
0
    case CCV_TENSOR_FORMAT_CHWN:
280
0
      return params.dim[0];
281
0
  }
282
0
  return 0;
283
0
}
Unexecuted instantiation: ccv_nnc_nms.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_blas.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: _ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: _ccv_nnc_gemm_cpu_sys.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_upsample.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_roi_align.c:ccv_nnc_tensor_get_c
Unexecuted instantiation: ccv_nnc_sigmoid.c:ccv_nnc_tensor_get_c
284
285
static inline void ccv_nnc_tensor_set_n(ccv_nnc_tensor_param_t* const params, const int n)
286
2.28k
{
287
2.28k
  switch (params->format)
288
2.28k
  {
289
2.28k
    case CCV_TENSOR_FORMAT_NHWC:
290
2.28k
    case CCV_TENSOR_FORMAT_NCHW:
291
2.28k
      params->dim[0] = n;
292
2.28k
      break;
293
2.28k
    case CCV_TENSOR_FORMAT_CHWN:
294
0
      params->dim[CCV_NNC_MAX_DIM + 1] = n;
295
0
      break;
296
2.28k
  }
297
2.28k
}
Unexecuted instantiation: gradient.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: upsample.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: concat.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: tensor.bind.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: backward.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: graph.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: case_of.backward.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: while.backward.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: autograd.vector.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: dropout.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: custom.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: reduce.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: batch.norm.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: crossentropy.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: cnnp.core.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: symbolic.graph.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: case_of.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: micro.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: compression.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: transform.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: dataframe.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: gemm.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: roi_align.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: swish.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: index.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: minimize.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: symbolic.graph.compile.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: autograd.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: tensor.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: rand.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: while.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: nms.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: graph.io.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: cblas.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: simplify.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: numa.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: tape.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: dynamic.graph.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: layer.norm.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: parallel.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: winograd.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: dataframe.addons.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: broadcast.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: compare.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: smooth_l1.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: forward.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: cublas.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: symbolic.graph.vgg.d.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: imdb.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: graph.vgg.d.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: random.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: cudnn.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: dense.net.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: cifar.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: rmsprop.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: sgd.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: nccl.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: schedule.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: loss.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: adam.tests.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_cmd.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_tensor.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_tensor_io.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_stream.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_micro.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_micro_core.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_micro_interpret.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_micro_simplify.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_graph.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_symbolic_graph.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_symbolic_graph_io.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_symbolic_graph_compile.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_symbolic_graph_backward.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_symbolic_graph_while.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_graph_while.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_tensor_tape.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_symbolic_graph_case_of.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_graph_case_of.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_symbolic_graph_minimize.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_symbolic_graph_parallel.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_symbolic_graph_simplify.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_symbolic_graph_memory_compression.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_graph_run.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_dynamic_graph.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_dynamic_graph_alloc.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_dynamic_graph_backward.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_dynamic_graph_apply_gradients.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_dynamic_graph_minimize.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_dynamic_graph_evaluate.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_cnnp_dataframe.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_cnnp_dataframe_core.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_cnnp_dataframe_addons.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_cnnp_dataframe_csv.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_cnnp_model.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_cnnp_model_io.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_cnnp_model_core.c:ccv_nnc_tensor_set_n
ccv_cnnp_model_addons.c:ccv_nnc_tensor_set_n
Line
Count
Source
286
111
{
287
111
  switch (params->format)
288
111
  {
289
111
    case CCV_TENSOR_FORMAT_NHWC:
290
111
    case CCV_TENSOR_FORMAT_NCHW:
291
111
      params->dim[0] = n;
292
111
      break;
293
111
    case CCV_TENSOR_FORMAT_CHWN:
294
0
      params->dim[CCV_NNC_MAX_DIM + 1] = n;
295
0
      break;
296
111
  }
297
111
}
Unexecuted instantiation: ccv_nnc_rand_uniform_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_rand_normal_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_conv_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_swish_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_dropout_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_softmax_crossentropy_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_sgd_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_max_pool_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_avg_pool_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_lssc_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_min_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_max_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_softmax_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_categorical_crossentropy_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_smooth_l1_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_relu_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_adam_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_nms_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_gemm_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_add_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_mul_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_upsample_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_util_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_roi_align_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_sigmoid_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_index_select_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_rmsprop_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_ew_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_reduce_sum_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_reduce_max_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_batch_norm_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_layer_norm_cpu_ref.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: _ccv_nnc_conv_cpu_4x4_3x3_winograd.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: _ccv_nnc_conv_cpu_fft.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: _ccv_nnc_conv_cpu_gemm.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: _ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_set_n
ccv_nnc_convolution.c:ccv_nnc_tensor_set_n
Line
Count
Source
286
2.17k
{
287
2.17k
  switch (params->format)
288
2.17k
  {
289
2.17k
    case CCV_TENSOR_FORMAT_NHWC:
290
2.17k
    case CCV_TENSOR_FORMAT_NCHW:
291
2.17k
      params->dim[0] = n;
292
2.17k
      break;
293
2.17k
    case CCV_TENSOR_FORMAT_CHWN:
294
0
      params->dim[CCV_NNC_MAX_DIM + 1] = n;
295
0
      break;
296
2.17k
  }
297
2.17k
}
Unexecuted instantiation: ccv_nnc_softmax_crossentropy.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_pool.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_cmp.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_binary_crossentropy.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_categorical_crossentropy.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_smooth_l1.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_nms.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_blas.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: _ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: _ccv_nnc_gemm_cpu_sys.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_upsample.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_roi_align.c:ccv_nnc_tensor_set_n
Unexecuted instantiation: ccv_nnc_sigmoid.c:ccv_nnc_tensor_set_n
298
299
static inline void ccv_nnc_tensor_set_c(ccv_nnc_tensor_param_t* const params, const int nd, const int c)
300
2.72k
{
301
2.72k
  switch (params->format)
302
2.72k
  {
303
145
    case CCV_TENSOR_FORMAT_NHWC:
304
145
      params->dim[nd - 1] = c;
305
145
      break;
306
2.58k
    case CCV_TENSOR_FORMAT_NCHW:
307
2.58k
      if (nd == CCV_NNC_MAX_DIM + 1)
308
0
        params->dim[0] = c;
309
2.58k
      else
310
2.58k
        params->dim[1] = c;
311
2.58k
      break;
312
0
    case CCV_TENSOR_FORMAT_CHWN:
313
0
      params->dim[0] = c;
314
0
      break;
315
2.72k
  }
316
2.72k
}
Unexecuted instantiation: gradient.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: upsample.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: concat.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: tensor.bind.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: backward.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: graph.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: case_of.backward.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: while.backward.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: autograd.vector.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: dropout.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: custom.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: reduce.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: batch.norm.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: crossentropy.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: cnnp.core.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: symbolic.graph.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: case_of.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: micro.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: compression.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: transform.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: dataframe.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: gemm.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: roi_align.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: swish.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: index.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: minimize.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: symbolic.graph.compile.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: autograd.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: tensor.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: rand.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: while.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: nms.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: graph.io.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: cblas.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: simplify.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: numa.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: tape.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: dynamic.graph.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: layer.norm.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: parallel.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: winograd.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: dataframe.addons.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: broadcast.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: compare.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: smooth_l1.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: forward.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: cublas.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: symbolic.graph.vgg.d.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: imdb.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: graph.vgg.d.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: random.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: cudnn.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: dense.net.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: cifar.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: rmsprop.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: sgd.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: nccl.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: schedule.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: loss.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: adam.tests.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_cmd.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_tensor.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_tensor_io.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_stream.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_micro.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_micro_core.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_micro_interpret.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_micro_simplify.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_graph.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_symbolic_graph.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_symbolic_graph_io.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_symbolic_graph_compile.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_symbolic_graph_backward.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_symbolic_graph_while.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_graph_while.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_tensor_tape.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_symbolic_graph_case_of.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_graph_case_of.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_symbolic_graph_minimize.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_symbolic_graph_parallel.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_symbolic_graph_simplify.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_symbolic_graph_memory_compression.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_graph_run.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_dynamic_graph.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_dynamic_graph_alloc.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_dynamic_graph_backward.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_dynamic_graph_apply_gradients.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_dynamic_graph_minimize.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_dynamic_graph_evaluate.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_cnnp_dataframe.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_cnnp_dataframe_core.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_cnnp_dataframe_addons.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_cnnp_dataframe_csv.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_cnnp_model.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_cnnp_model_io.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_cnnp_model_core.c:ccv_nnc_tensor_set_c
ccv_cnnp_model_addons.c:ccv_nnc_tensor_set_c
Line
Count
Source
300
111
{
301
111
  switch (params->format)
302
111
  {
303
12
    case CCV_TENSOR_FORMAT_NHWC:
304
12
      params->dim[nd - 1] = c;
305
12
      break;
306
99
    case CCV_TENSOR_FORMAT_NCHW:
307
99
      if (nd == CCV_NNC_MAX_DIM + 1)
308
0
        params->dim[0] = c;
309
99
      else
310
99
        params->dim[1] = c;
311
99
      break;
312
0
    case CCV_TENSOR_FORMAT_CHWN:
313
0
      params->dim[0] = c;
314
0
      break;
315
111
  }
316
111
}
Unexecuted instantiation: ccv_nnc_rand_uniform_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_rand_normal_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_conv_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_swish_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_dropout_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_softmax_crossentropy_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_sgd_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_max_pool_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_avg_pool_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_lssc_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_min_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_max_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_softmax_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_categorical_crossentropy_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_smooth_l1_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_relu_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_adam_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_nms_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_gemm_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_add_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_mul_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_upsample_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_util_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_roi_align_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_sigmoid_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_index_select_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_rmsprop_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_ew_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_reduce_sum_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_reduce_max_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_batch_norm_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_layer_norm_cpu_ref.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: _ccv_nnc_conv_cpu_4x4_3x3_winograd.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: _ccv_nnc_conv_cpu_fft.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: _ccv_nnc_conv_cpu_gemm.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: _ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_set_c
ccv_nnc_convolution.c:ccv_nnc_tensor_set_c
Line
Count
Source
300
2.17k
{
301
2.17k
  switch (params->format)
302
2.17k
  {
303
109
    case CCV_TENSOR_FORMAT_NHWC:
304
109
      params->dim[nd - 1] = c;
305
109
      break;
306
2.06k
    case CCV_TENSOR_FORMAT_NCHW:
307
2.06k
      if (nd == CCV_NNC_MAX_DIM + 1)
308
0
        params->dim[0] = c;
309
2.06k
      else
310
2.06k
        params->dim[1] = c;
311
2.06k
      break;
312
0
    case CCV_TENSOR_FORMAT_CHWN:
313
0
      params->dim[0] = c;
314
0
      break;
315
2.17k
  }
316
2.17k
}
ccv_nnc_softmax_crossentropy.c:ccv_nnc_tensor_set_c
Line
Count
Source
300
417
{
301
417
  switch (params->format)
302
417
  {
303
5
    case CCV_TENSOR_FORMAT_NHWC:
304
5
      params->dim[nd - 1] = c;
305
5
      break;
306
412
    case CCV_TENSOR_FORMAT_NCHW:
307
412
      if (nd == CCV_NNC_MAX_DIM + 1)
308
0
        params->dim[0] = c;
309
412
      else
310
412
        params->dim[1] = c;
311
412
      break;
312
0
    case CCV_TENSOR_FORMAT_CHWN:
313
0
      params->dim[0] = c;
314
0
      break;
315
417
  }
316
417
}
Unexecuted instantiation: ccv_nnc_pool.c:ccv_nnc_tensor_set_c
ccv_nnc_sigmoid_binary_crossentropy.c:ccv_nnc_tensor_set_c
Line
Count
Source
300
6
{
301
6
  switch (params->format)
302
6
  {
303
6
    case CCV_TENSOR_FORMAT_NHWC:
304
6
      params->dim[nd - 1] = c;
305
6
      break;
306
0
    case CCV_TENSOR_FORMAT_NCHW:
307
0
      if (nd == CCV_NNC_MAX_DIM + 1)
308
0
        params->dim[0] = c;
309
0
      else
310
0
        params->dim[1] = c;
311
0
      break;
312
0
    case CCV_TENSOR_FORMAT_CHWN:
313
0
      params->dim[0] = c;
314
0
      break;
315
6
  }
316
6
}
Unexecuted instantiation: ccv_nnc_cmp.c:ccv_nnc_tensor_set_c
ccv_nnc_binary_crossentropy.c:ccv_nnc_tensor_set_c
Line
Count
Source
300
6
{
301
6
  switch (params->format)
302
6
  {
303
6
    case CCV_TENSOR_FORMAT_NHWC:
304
6
      params->dim[nd - 1] = c;
305
6
      break;
306
0
    case CCV_TENSOR_FORMAT_NCHW:
307
0
      if (nd == CCV_NNC_MAX_DIM + 1)
308
0
        params->dim[0] = c;
309
0
      else
310
0
        params->dim[1] = c;
311
0
      break;
312
0
    case CCV_TENSOR_FORMAT_CHWN:
313
0
      params->dim[0] = c;
314
0
      break;
315
6
  }
316
6
}
ccv_nnc_categorical_crossentropy.c:ccv_nnc_tensor_set_c
Line
Count
Source
300
9
{
301
9
  switch (params->format)
302
9
  {
303
5
    case CCV_TENSOR_FORMAT_NHWC:
304
5
      params->dim[nd - 1] = c;
305
5
      break;
306
4
    case CCV_TENSOR_FORMAT_NCHW:
307
4
      if (nd == CCV_NNC_MAX_DIM + 1)
308
0
        params->dim[0] = c;
309
4
      else
310
4
        params->dim[1] = c;
311
4
      break;
312
0
    case CCV_TENSOR_FORMAT_CHWN:
313
0
      params->dim[0] = c;
314
0
      break;
315
9
  }
316
9
}
ccv_nnc_smooth_l1.c:ccv_nnc_tensor_set_c
Line
Count
Source
300
2
{
301
2
  switch (params->format)
302
2
  {
303
2
    case CCV_TENSOR_FORMAT_NHWC:
304
2
      params->dim[nd - 1] = c;
305
2
      break;
306
0
    case CCV_TENSOR_FORMAT_NCHW:
307
0
      if (nd == CCV_NNC_MAX_DIM + 1)
308
0
        params->dim[0] = c;
309
0
      else
310
0
        params->dim[1] = c;
311
0
      break;
312
0
    case CCV_TENSOR_FORMAT_CHWN:
313
0
      params->dim[0] = c;
314
0
      break;
315
2
  }
316
2
}
Unexecuted instantiation: ccv_nnc_nms.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_blas.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: _ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: _ccv_nnc_gemm_cpu_sys.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_upsample.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_roi_align.c:ccv_nnc_tensor_set_c
Unexecuted instantiation: ccv_nnc_sigmoid.c:ccv_nnc_tensor_set_c
317
318
static inline int ccv_nnc_is_matrix_transpose(const ccv_nnc_tensor_param_t params, const int transpose[2])
319
43.6k
{
320
43.6k
  const int nd = ccv_nnc_tensor_nd(params.dim);
321
43.6k
  assert(nd >= 1 && nd <= 3);
322
43.6k
  if (transpose[0] != transpose[1])
323
18.7k
  {
324
18.7k
    assert(nd > 1);
325
18.7k
    assert(((transpose[0] == ((nd == 2) ? 0 : 1)) && (transpose[1] == ((nd == 2) ? 1 : 2))) ||
326
18.7k
      ((transpose[1] == ((nd == 2) ? 0 : 1)) && (transpose[0] == ((nd == 2) ? 1 : 2))));
327
18.7k
    return 1;
328
24.8k
  }
329
24.8k
  return 0;
330
24.8k
}
Unexecuted instantiation: gradient.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: upsample.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: concat.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: tensor.bind.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: backward.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: graph.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: case_of.backward.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: while.backward.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: autograd.vector.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: dropout.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: custom.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: reduce.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: batch.norm.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: crossentropy.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: cnnp.core.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: symbolic.graph.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: case_of.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: micro.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: compression.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: transform.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: dataframe.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: gemm.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: roi_align.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: swish.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: index.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: minimize.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: symbolic.graph.compile.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: autograd.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: tensor.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: rand.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: while.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: nms.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: graph.io.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: cblas.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: simplify.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: numa.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: tape.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: dynamic.graph.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: layer.norm.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: parallel.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: winograd.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: dataframe.addons.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: broadcast.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: compare.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: smooth_l1.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: forward.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: cublas.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: symbolic.graph.vgg.d.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: imdb.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: graph.vgg.d.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: random.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: cudnn.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: dense.net.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: cifar.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: rmsprop.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: sgd.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: nccl.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: schedule.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: loss.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: adam.tests.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_cmd.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_tensor.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_tensor_io.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_stream.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_micro.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_micro_core.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_micro_interpret.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_micro_simplify.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_graph.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_symbolic_graph.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_symbolic_graph_io.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_symbolic_graph_compile.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_symbolic_graph_backward.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_symbolic_graph_while.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_graph_while.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_tensor_tape.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_symbolic_graph_case_of.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_graph_case_of.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_symbolic_graph_minimize.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_symbolic_graph_parallel.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_symbolic_graph_simplify.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_symbolic_graph_memory_compression.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_graph_run.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_dynamic_graph.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_dynamic_graph_alloc.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_dynamic_graph_backward.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_dynamic_graph_apply_gradients.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_dynamic_graph_minimize.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_dynamic_graph_evaluate.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_cnnp_dataframe.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_cnnp_dataframe_core.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_cnnp_dataframe_addons.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_cnnp_dataframe_csv.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_cnnp_model.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_cnnp_model_io.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_cnnp_model_core.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_cnnp_model_addons.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_rand_uniform_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_rand_normal_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_conv_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_conv_cpu_opt.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_swish_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_dropout_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_softmax_crossentropy_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_sgd_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_max_pool_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_avg_pool_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_lssc_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_min_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_max_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_softmax_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_binary_crossentropy_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_categorical_crossentropy_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_smooth_l1_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_relu_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_adam_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_nms_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_gemm_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_gemm_cpu_opt.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_add_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_mul_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_upsample_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_util_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_roi_align_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_sigmoid_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_index_select_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_rmsprop_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_ew_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_reduce_sum_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_reduce_max_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_batch_norm_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_layer_norm_cpu_ref.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: _ccv_nnc_conv_cpu_4x4_3x3_winograd.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: _ccv_nnc_conv_cpu_fft.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: _ccv_nnc_conv_cpu_gemm.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: _ccv_nnc_conv_cpu_opt.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_convolution.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_softmax_crossentropy.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_pool.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_cmp.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_binary_crossentropy.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_categorical_crossentropy.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_smooth_l1.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_nms.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_blas.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: _ccv_nnc_gemm_cpu_opt.c:ccv_nnc_is_matrix_transpose
_ccv_nnc_gemm_cpu_sys.c:ccv_nnc_is_matrix_transpose
Line
Count
Source
319
43.6k
{
320
43.6k
  const int nd = ccv_nnc_tensor_nd(params.dim);
321
43.6k
  assert(nd >= 1 && nd <= 3);
322
43.6k
  if (transpose[0] != transpose[1])
323
18.7k
  {
324
18.7k
    assert(nd > 1);
325
18.7k
    assert(((transpose[0] == ((nd == 2) ? 0 : 1)) && (transpose[1] == ((nd == 2) ? 1 : 2))) ||
326
18.7k
      ((transpose[1] == ((nd == 2) ? 0 : 1)) && (transpose[0] == ((nd == 2) ? 1 : 2))));
327
18.7k
    return 1;
328
24.8k
  }
329
24.8k
  return 0;
330
24.8k
}
Unexecuted instantiation: ccv_nnc_upsample.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_roi_align.c:ccv_nnc_is_matrix_transpose
Unexecuted instantiation: ccv_nnc_sigmoid.c:ccv_nnc_is_matrix_transpose
331
332
// Assuming this is batched matrix. Getting relevant parameters.
333
static inline void ccv_nnc_tensor_get_matrix_params(const ccv_nnc_tensor_param_t params, const int* const inc, const int transpose[2], int* const batch_size_ref, int* const rows_ref, int* const cols_ref, int* const batch_inc_ref, int* const rows_inc_ref, int* const cols_inc_ref)
334
182k
{
335
182k
  const int nd = ccv_nnc_tensor_nd(params.dim);
336
182k
  assert(nd >= 1 && nd <= 3);
337
182k
  *batch_size_ref = nd < 3 ? 
1181k
:
params.dim[0]919
;
338
182k
  *batch_inc_ref = nd < 3 ? 
0181k
:
inc[1] * inc[2]919
;
339
182k
  int rows = nd == 1 ? 
156.0k
:
(nd == 2 126k
?
params.dim[0]125k
:
params.dim[1]919
);
340
182k
  int rows_inc = inc[nd - 1];
341
182k
  int cols = nd == 1 ? 
params.dim[0]56.0k
:
(nd == 2 126k
?
params.dim[1]125k
:
params.dim[2]919
);
342
182k
  int cols_inc = 1;
343
182k
  if (transpose[0] != transpose[1])
344
64.3k
  {
345
64.3k
    assert(nd > 1);
346
64.3k
    assert(((transpose[0] == ((nd == 2) ? 0 : 1)) && (transpose[1] == ((nd == 2) ? 1 : 2))) ||
347
64.3k
      ((transpose[1] == ((nd == 2) ? 0 : 1)) && (transpose[0] == ((nd == 2) ? 1 : 2))));
348
64.3k
    int t;
349
64.3k
    CCV_SWAP(rows, cols, t);
350
64.3k
    CCV_SWAP(rows_inc, cols_inc, t);
351
64.3k
  }
352
182k
  *rows_ref = rows;
353
182k
  *cols_ref = cols;
354
182k
  *rows_inc_ref = rows_inc;
355
182k
  *cols_inc_ref = cols_inc;
356
182k
}
Unexecuted instantiation: gradient.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: upsample.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: concat.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: tensor.bind.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: backward.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: graph.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: case_of.backward.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: while.backward.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: autograd.vector.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: dropout.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: custom.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: reduce.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: batch.norm.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: crossentropy.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: cnnp.core.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: symbolic.graph.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: case_of.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: micro.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: compression.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: transform.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: dataframe.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: gemm.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: roi_align.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: swish.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: index.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: minimize.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: symbolic.graph.compile.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: autograd.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: tensor.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: rand.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: while.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: nms.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: graph.io.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: cblas.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: simplify.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: numa.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: tape.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: dynamic.graph.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: layer.norm.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: parallel.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: winograd.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: dataframe.addons.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: broadcast.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: compare.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: smooth_l1.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: forward.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: cublas.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: symbolic.graph.vgg.d.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: imdb.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: graph.vgg.d.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: random.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: cudnn.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: dense.net.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: cifar.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: rmsprop.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: sgd.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: nccl.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: schedule.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: loss.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: adam.tests.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_cmd.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_tensor.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_tensor_io.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_stream.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_micro.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_micro_core.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_micro_interpret.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_micro_simplify.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_graph.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_symbolic_graph.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_symbolic_graph_io.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_symbolic_graph_compile.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_symbolic_graph_backward.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_symbolic_graph_while.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_graph_while.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_tensor_tape.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_symbolic_graph_case_of.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_graph_case_of.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_symbolic_graph_minimize.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_symbolic_graph_parallel.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_symbolic_graph_simplify.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_symbolic_graph_memory_compression.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_graph_run.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_dynamic_graph.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_dynamic_graph_alloc.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_dynamic_graph_backward.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_dynamic_graph_apply_gradients.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_dynamic_graph_minimize.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_dynamic_graph_evaluate.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_cnnp_dataframe.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_cnnp_dataframe_core.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_cnnp_dataframe_addons.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_cnnp_dataframe_csv.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_cnnp_model.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_cnnp_model_io.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_cnnp_model_core.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_cnnp_model_addons.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_rand_uniform_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_rand_normal_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_conv_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_swish_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_dropout_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_softmax_crossentropy_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_sgd_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_max_pool_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_avg_pool_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_lssc_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_min_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_max_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_softmax_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_categorical_crossentropy_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_smooth_l1_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_relu_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_adam_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_nms_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
ccv_nnc_gemm_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Line
Count
Source
334
64.3k
{
335
64.3k
  const int nd = ccv_nnc_tensor_nd(params.dim);
336
64.3k
  assert(nd >= 1 && nd <= 3);
337
64.3k
  *batch_size_ref = nd < 3 ? 
164.3k
:
params.dim[0]34
;
338
64.3k
  *batch_inc_ref = nd < 3 ? 
064.3k
:
inc[1] * inc[2]34
;
339
64.3k
  int rows = nd == 1 ? 
116.3k
:
(nd == 2 47.9k
?
params.dim[0]47.9k
:
params.dim[1]34
);
340
64.3k
  int rows_inc = inc[nd - 1];
341
64.3k
  int cols = nd == 1 ? 
params.dim[0]16.3k
:
(nd == 2 47.9k
?
params.dim[1]47.9k
:
params.dim[2]34
);
342
64.3k
  int cols_inc = 1;
343
64.3k
  if (transpose[0] != transpose[1])
344
21.9k
  {
345
21.9k
    assert(nd > 1);
346
21.9k
    assert(((transpose[0] == ((nd == 2) ? 0 : 1)) && (transpose[1] == ((nd == 2) ? 1 : 2))) ||
347
21.9k
      ((transpose[1] == ((nd == 2) ? 0 : 1)) && (transpose[0] == ((nd == 2) ? 1 : 2))));
348
21.9k
    int t;
349
21.9k
    CCV_SWAP(rows, cols, t);
350
21.9k
    CCV_SWAP(rows_inc, cols_inc, t);
351
21.9k
  }
352
64.3k
  *rows_ref = rows;
353
64.3k
  *cols_ref = cols;
354
64.3k
  *rows_inc_ref = rows_inc;
355
64.3k
  *cols_inc_ref = cols_inc;
356
64.3k
}
Unexecuted instantiation: ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_add_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_mul_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_upsample_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_util_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_roi_align_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_sigmoid_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_index_select_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_rmsprop_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_ew_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_reduce_sum_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_reduce_max_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_batch_norm_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_layer_norm_cpu_ref.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: _ccv_nnc_conv_cpu_4x4_3x3_winograd.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: _ccv_nnc_conv_cpu_fft.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: _ccv_nnc_conv_cpu_gemm.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: _ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_convolution.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_softmax_crossentropy.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_pool.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_cmp.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_binary_crossentropy.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_categorical_crossentropy.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_smooth_l1.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_nms.c:ccv_nnc_tensor_get_matrix_params
ccv_nnc_blas.c:ccv_nnc_tensor_get_matrix_params
Line
Count
Source
334
47.6k
{
335
47.6k
  const int nd = ccv_nnc_tensor_nd(params.dim);
336
47.6k
  assert(nd >= 1 && nd <= 3);
337
47.6k
  *batch_size_ref = nd < 3 ? 
146.7k
:
params.dim[0]856
;
338
47.6k
  *batch_inc_ref = nd < 3 ? 
046.7k
:
inc[1] * inc[2]856
;
339
47.6k
  int rows = nd == 1 ? 
116.8k
:
(nd == 2 30.7k
?
params.dim[0]29.8k
:
params.dim[1]856
);
340
47.6k
  int rows_inc = inc[nd - 1];
341
47.6k
  int cols = nd == 1 ? 
params.dim[0]16.8k
:
(nd == 2 30.7k
?
params.dim[1]29.8k
:
params.dim[2]856
);
342
47.6k
  int cols_inc = 1;
343
47.6k
  if (transpose[0] != transpose[1])
344
23.5k
  {
345
23.5k
    assert(nd > 1);
346
23.5k
    assert(((transpose[0] == ((nd == 2) ? 0 : 1)) && (transpose[1] == ((nd == 2) ? 1 : 2))) ||
347
23.5k
      ((transpose[1] == ((nd == 2) ? 0 : 1)) && (transpose[0] == ((nd == 2) ? 1 : 2))));
348
23.5k
    int t;
349
23.5k
    CCV_SWAP(rows, cols, t);
350
23.5k
    CCV_SWAP(rows_inc, cols_inc, t);
351
23.5k
  }
352
47.6k
  *rows_ref = rows;
353
47.6k
  *cols_ref = cols;
354
47.6k
  *rows_inc_ref = rows_inc;
355
47.6k
  *cols_inc_ref = cols_inc;
356
47.6k
}
Unexecuted instantiation: _ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_get_matrix_params
_ccv_nnc_gemm_cpu_sys.c:ccv_nnc_tensor_get_matrix_params
Line
Count
Source
334
70.6k
{
335
70.6k
  const int nd = ccv_nnc_tensor_nd(params.dim);
336
70.6k
  assert(nd >= 1 && nd <= 3);
337
70.6k
  *batch_size_ref = nd < 3 ? 
170.6k
:
params.dim[0]29
;
338
70.6k
  *batch_inc_ref = nd < 3 ? 
070.6k
:
inc[1] * inc[2]29
;
339
70.6k
  int rows = nd == 1 ? 
122.7k
:
(nd == 2 47.8k
?
params.dim[0]47.8k
:
params.dim[1]29
);
340
70.6k
  int rows_inc = inc[nd - 1];
341
70.6k
  int cols = nd == 1 ? 
params.dim[0]22.7k
:
(nd == 2 47.8k
?
params.dim[1]47.8k
:
params.dim[2]29
);
342
70.6k
  int cols_inc = 1;
343
70.6k
  if (transpose[0] != transpose[1])
344
18.7k
  {
345
18.7k
    assert(nd > 1);
346
18.7k
    assert(((transpose[0] == ((nd == 2) ? 0 : 1)) && (transpose[1] == ((nd == 2) ? 1 : 2))) ||
347
18.7k
      ((transpose[1] == ((nd == 2) ? 0 : 1)) && (transpose[0] == ((nd == 2) ? 1 : 2))));
348
18.7k
    int t;
349
18.7k
    CCV_SWAP(rows, cols, t);
350
18.7k
    CCV_SWAP(rows_inc, cols_inc, t);
351
18.7k
  }
352
70.6k
  *rows_ref = rows;
353
70.6k
  *cols_ref = cols;
354
70.6k
  *rows_inc_ref = rows_inc;
355
70.6k
  *cols_inc_ref = cols_inc;
356
70.6k
}
Unexecuted instantiation: ccv_nnc_upsample.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_roi_align.c:ccv_nnc_tensor_get_matrix_params
Unexecuted instantiation: ccv_nnc_sigmoid.c:ccv_nnc_tensor_get_matrix_params
357
358
static inline CCV_WARN_UNUSED(ccv_nnc_tensor_view_t) ccv_nnc_get_tensor_view(const ccv_nnc_tensor_t* const tensor)
359
0
{
360
0
  if (CCV_IS_TENSOR_VIEW(tensor))
361
0
    return (ccv_nnc_tensor_view_t)*(ccv_nnc_tensor_view_t*)tensor;
362
0
  ccv_nnc_tensor_view_t tv;
363
0
  memcpy(&tv, tensor, sizeof(ccv_nnc_tensor_t));
364
0
  return tv;
365
0
}
Unexecuted instantiation: gradient.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: upsample.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: concat.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: tensor.bind.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: backward.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: graph.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: case_of.backward.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: while.backward.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: autograd.vector.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: dropout.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: custom.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: reduce.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: batch.norm.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: crossentropy.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: cnnp.core.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: symbolic.graph.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: case_of.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: micro.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: compression.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: transform.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: dataframe.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: gemm.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: roi_align.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: swish.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: index.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: minimize.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: symbolic.graph.compile.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: autograd.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: tensor.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: rand.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: while.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: nms.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: graph.io.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: cblas.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: simplify.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: numa.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: tape.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: dynamic.graph.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: layer.norm.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: parallel.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: winograd.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: dataframe.addons.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: broadcast.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: compare.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: smooth_l1.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: forward.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: cublas.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: symbolic.graph.vgg.d.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: imdb.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: graph.vgg.d.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: random.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: cudnn.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: dense.net.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: cifar.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: rmsprop.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: sgd.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: nccl.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: schedule.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: loss.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: adam.tests.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_cmd.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_tensor.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_tensor_io.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_stream.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_micro.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_micro_core.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_micro_interpret.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_micro_simplify.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_graph.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_symbolic_graph.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_symbolic_graph_io.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_symbolic_graph_compile.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_symbolic_graph_backward.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_symbolic_graph_while.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_graph_while.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_tensor_tape.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_symbolic_graph_case_of.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_graph_case_of.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_symbolic_graph_minimize.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_symbolic_graph_parallel.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_symbolic_graph_simplify.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_symbolic_graph_memory_compression.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_graph_run.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_dynamic_graph.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_dynamic_graph_alloc.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_dynamic_graph_backward.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_dynamic_graph_apply_gradients.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_dynamic_graph_minimize.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_dynamic_graph_evaluate.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_cnnp_dataframe.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_cnnp_dataframe_core.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_cnnp_dataframe_addons.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_cnnp_dataframe_csv.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_cnnp_model.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_cnnp_model_io.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_cnnp_model_core.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_cnnp_model_addons.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_rand_uniform_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_rand_normal_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_conv_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_conv_cpu_opt.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_swish_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_dropout_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_softmax_crossentropy_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_sgd_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_max_pool_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_avg_pool_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_lssc_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_min_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_max_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_softmax_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_binary_crossentropy_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_categorical_crossentropy_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_smooth_l1_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_relu_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_adam_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_nms_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_gemm_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_gemm_cpu_opt.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_add_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_mul_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_upsample_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_util_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_roi_align_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_sigmoid_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_index_select_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_rmsprop_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_ew_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_reduce_sum_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_reduce_max_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_batch_norm_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_layer_norm_cpu_ref.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: _ccv_nnc_conv_cpu_4x4_3x3_winograd.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: _ccv_nnc_conv_cpu_fft.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: _ccv_nnc_conv_cpu_gemm.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: _ccv_nnc_conv_cpu_opt.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_convolution.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_softmax_crossentropy.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_pool.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_cmp.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_binary_crossentropy.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_categorical_crossentropy.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_smooth_l1.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_nms.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_blas.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: _ccv_nnc_gemm_cpu_opt.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: _ccv_nnc_gemm_cpu_sys.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_upsample.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_roi_align.c:ccv_nnc_get_tensor_view
Unexecuted instantiation: ccv_nnc_sigmoid.c:ccv_nnc_get_tensor_view
366
367
static inline void ccv_nnc_tensor_view_alignment(ccv_nnc_tensor_view_t** const tvs, const int tv_size)
368
0
{
369
0
  int i, j;
370
0
  int max_nd = 0;
371
0
  for (i = 0; i < tv_size; i++)
372
0
    max_nd = ccv_max(ccv_nnc_tensor_nd(tvs[i]->info.dim), max_nd);
373
0
  for (i = 0; i < tv_size; i++)
374
0
  {
375
0
    const int nd = ccv_nnc_tensor_nd(tvs[i]->info.dim);
376
0
    for (j = max_nd - 1; j >= max_nd - nd; j--)
377
0
      tvs[i]->info.dim[j] = tvs[i]->info.dim[j - max_nd + nd];
378
0
    for (j = 0; j < max_nd - nd; j++)
379
0
      tvs[i]->info.dim[j] = 1;
380
0
    if (!CCV_IS_TENSOR_VIEW(tvs[i]))
381
0
      continue;
382
0
    for (j = max_nd - 1; j >= max_nd - nd; j--)
383
0
      tvs[i]->inc[j] = tvs[i]->inc[j - max_nd + nd];
384
0
    for (j = 0; j < max_nd - nd; j++)
385
0
      tvs[i]->inc[j] = 1;
386
0
  }
387
0
}
Unexecuted instantiation: gradient.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: upsample.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: concat.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: tensor.bind.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: backward.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: graph.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: case_of.backward.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: while.backward.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: autograd.vector.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: dropout.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: custom.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: reduce.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: batch.norm.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: crossentropy.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: cnnp.core.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: symbolic.graph.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: case_of.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: micro.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: compression.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: transform.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: dataframe.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: gemm.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: roi_align.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: swish.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: index.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: minimize.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: symbolic.graph.compile.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: autograd.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: tensor.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: rand.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: while.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: nms.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: graph.io.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: cblas.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: simplify.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: numa.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: tape.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: dynamic.graph.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: layer.norm.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: parallel.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: winograd.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: dataframe.addons.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: broadcast.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: compare.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: smooth_l1.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: forward.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: cublas.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: symbolic.graph.vgg.d.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: imdb.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: graph.vgg.d.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: random.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: cudnn.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: dense.net.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: cifar.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: rmsprop.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: sgd.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: nccl.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: schedule.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: loss.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: adam.tests.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_cmd.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_tensor.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_tensor_io.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_stream.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_micro.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_micro_core.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_micro_interpret.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_micro_simplify.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_graph.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_symbolic_graph.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_symbolic_graph_io.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_symbolic_graph_compile.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_symbolic_graph_backward.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_symbolic_graph_while.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_graph_while.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_tensor_tape.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_symbolic_graph_case_of.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_graph_case_of.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_symbolic_graph_minimize.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_symbolic_graph_parallel.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_symbolic_graph_simplify.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_symbolic_graph_memory_compression.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_graph_run.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_dynamic_graph.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_dynamic_graph_alloc.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_dynamic_graph_backward.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_dynamic_graph_apply_gradients.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_dynamic_graph_minimize.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_dynamic_graph_evaluate.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_cnnp_dataframe.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_cnnp_dataframe_core.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_cnnp_dataframe_addons.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_cnnp_dataframe_csv.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_cnnp_model.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_cnnp_model_io.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_cnnp_model_core.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_cnnp_model_addons.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_rand_uniform_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_rand_normal_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_conv_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_swish_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_dropout_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_softmax_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_sgd_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_max_pool_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_avg_pool_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_lssc_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_min_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_max_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_softmax_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_binary_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_categorical_crossentropy_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_smooth_l1_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_relu_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_adam_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_nms_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_gemm_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_add_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_mul_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_upsample_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_util_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_roi_align_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_sigmoid_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_index_select_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_rmsprop_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_ew_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_reduce_sum_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_reduce_max_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_batch_norm_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_layer_norm_cpu_ref.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: _ccv_nnc_conv_cpu_4x4_3x3_winograd.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: _ccv_nnc_conv_cpu_fft.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: _ccv_nnc_conv_cpu_gemm.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: _ccv_nnc_conv_cpu_opt.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_convolution.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_softmax_crossentropy.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_pool.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_sigmoid_binary_crossentropy.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_cmp.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_binary_crossentropy.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_categorical_crossentropy.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_smooth_l1.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_nms.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_blas.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: _ccv_nnc_gemm_cpu_opt.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: _ccv_nnc_gemm_cpu_sys.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_upsample.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_roi_align.c:ccv_nnc_tensor_view_alignment
Unexecuted instantiation: ccv_nnc_sigmoid.c:ccv_nnc_tensor_view_alignment
388
389
390
26
#define TRANSPOSE(_X, _Y) ((int[]){(_X),(_Y)})
391
20
#define NO_TRANSPOSE TRANSPOSE(0, 0)
392
4.45k
#define CMD_GEMM_X(_0, _TA, _TB, ...) ((ccv_nnc_cmd_param_t){.size={.dim={1,1,1}},.blas={.a={1,1},.transpose_a={_TA[0],_TA[1]},.transpose_b={_TB[0],_TB[1]},}}) // We default to alpha = 1 and beta = 1
393
4.45k
#define CMD_GEMM(...) CMD_GEMM_X(_0, ##__VA_ARGS__, NO_TRANSPOSE, NO_TRANSPOSE)
394
4.53k
#define CMD_GENERIC_X_0() ((ccv_nnc_cmd_param_t){.size={.dim={1,1,1}}})
395
#define CMD_GENERIC_X_F(...) ("This should not be used, you should have either 0 parameter or 3 parameters for CMD_GENERIC")
396
#define CMD_GENERIC_X_3(...) ((ccv_nnc_cmd_param_t){.size={.dim={__VA_ARGS__}}})
397
4.53k
#define CMD_GENERIC_X_SEL(_0, _1, _2, _3, _FX, ...) _FX
398
// Using ## so that if it is empty, we omit one comma.
399
4.53k
#define CMD_GENERIC(...) CMD_GENERIC_X_SEL(CMD_GENERIC_X_F, ##__VA_ARGS__, CMD_GENERIC_X_3, CMD_GENERIC_X_F, CMD_GENERIC_X_F, CMD_GENERIC_X_0)(__VA_ARGS__)
400
2.02k
#define CMD_REDUCE(...) ((ccv_nnc_cmd_param_t){.size={.dim={1,1,1}},.reduce={.count=LIST_COUNT(__VA_ARGS__),.axis={__VA_ARGS__}}})
401
/**
402
 * @defgroup available_commands Available Commands
403
 * @{
404
 */
405
2.28k
#define CMD_NOOP() ccv_nnc_cmd(CCV_NNC_NOOP, 0, ccv_nnc_cmd_auto, 0)
406
1
#define CMD_CUSTOM_FORWARD(f) ccv_nnc_cmd(CCV_NNC_CUSTOM_FORWARD, f, ccv_nnc_cmd_auto, 0)
407
/** @} */
408
409
int ccv_nnc_is_no_hint(const ccv_nnc_hint_t hint);
410
int ccv_nnc_is_cmd_auto(const ccv_nnc_cmd_param_t params);
411
int ccv_nnc_is_tensor_auto(const ccv_nnc_tensor_param_t params);
412
413
/**
414
 * @addtogroup convenience_api
415
 * @{
416
 */
417
/**
418
 * Offsets all zero.
419
 */
420
extern const int ccv_nnc_no_ofs[CCV_NNC_MAX_DIM_ALLOC];
421
/**
422
 * No hint available.
423
 */
424
extern const ccv_nnc_hint_t ccv_nnc_no_hint;
425
/**
426
 * The default symbolic graph compile parameters.
427
 */
428
extern const ccv_nnc_symbolic_graph_compile_param_t ccv_nnc_default_compile_params;
429
/**
430
 * Derive the command parameters automatically if possible.
431
 */
432
extern const ccv_nnc_cmd_param_t ccv_nnc_cmd_auto;
433
/**
434
 * Derive the tensor parameters automatically if possible.
435
 */
436
extern const ccv_nnc_tensor_param_t ccv_nnc_tensor_auto;
437
/** @} */
438
439
// Generated command flags for easy creation of ccv_nnc_cmd_t objects.
440
#include "cmd/ccv_nnc_cmd_easy.h"
441
442
#endif