Home
last modified time | relevance | path

Searched refs:dummy_tensor (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_quantized_conv_ops_test.cc42 static const uint8 dummy_tensor[] = {0, 0, 0, 0, 0, 0, 0, 0}; variable
135 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in RunQuantizedDepthwiseConv2DOp()
138 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in RunQuantizedDepthwiseConv2DOp()
139 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in RunQuantizedDepthwiseConv2DOp()
140 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in RunQuantizedDepthwiseConv2DOp()
141 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in RunQuantizedDepthwiseConv2DOp()
142 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in RunQuantizedDepthwiseConv2DOp()
143 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in RunQuantizedDepthwiseConv2DOp()
234 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
235 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
[all …]
Dmkl_quantize_op_test.cc29 static const uint8 dummy_tensor[] = {0, 0, 0, 0, 0, 0, 0, 0}; variable
51 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
52 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
53 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
84 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
85 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
86 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
116 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
117 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
118 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
[all …]
Dmkl_quantized_conv_ops_perchannel_test.cc40 static const uint8 dummy_tensor[] = {0, 0, 0, 0, 0, 0, 0, 0}; variable
154 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
155 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
156 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
157 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
158 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
159 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
Dmkl_quantized_concat_op_test.cc46 static const uint8 dummy_tensor[] = {0, 0, 0, 0, 0, 0, 0, 0}; variable
148 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TestSmall8Bit()
149 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TestSmall8Bit()
150 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TestSmall8Bit()
151 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TestSmall8Bit()
222 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TestSecondDim8Bit()
223 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TestSecondDim8Bit()
224 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TestSecondDim8Bit()
225 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TestSecondDim8Bit()
Dmkl_quantized_pooling_ops_test.cc37 static const uint8 dummy_tensor[] = {0, 0, 0, 0, 0, 0, 0, 0}; variable
112 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
113 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
114 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
180 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
181 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
182 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
Dmkl_dequantize_op_test.cc32 static const uint8 dummy_tensor[] = {0, 0, 0, 0, 0, 0, 0, 0}; variable
54 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
55 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
56 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
135 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
136 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in TEST_F()
Dmkl_fused_ops_test.cc40 static const uint8 dummy_tensor[] = {0, 0, 0, 0, 0, 0, 0, 0}; variable
321 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in RunMklFusedConv2DOp()
322 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in RunMklFusedConv2DOp()
324 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in RunMklFusedConv2DOp()
642 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in RunMklFusedDepthwiseConv2DOp()
643 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in RunMklFusedDepthwiseConv2DOp()
645 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in RunMklFusedDepthwiseConv2DOp()
864 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in Run()
865 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in Run()
866 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in Run()
[all …]
Dmkl_fused_batch_norm_op_test.cc41 static const uint8 dummy_tensor[] = {0, 0, 0, 0, 0, 0, 0, 0}; variable
213 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in RunConv2D()
319 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in VerifyFusedBatchNorm()
448 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in VerifyFusedBatchNormGradWithConv2D()
451 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in VerifyFusedBatchNormGradWithConv2D()
452 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in VerifyFusedBatchNormGradWithConv2D()
453 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in VerifyFusedBatchNormGradWithConv2D()
454 AddInputFromArray<uint8>(dummy_shape, dummy_tensor); in VerifyFusedBatchNormGradWithConv2D()
/external/tensorflow/tensorflow/python/compiler/xla/
Dxla_test.py59 dummy_tensor = constant_op.constant(1.1)
60 audio_summary = summary.audio('audio_summary', dummy_tensor, 0.5)
61 histogram_summary = summary.histogram('histogram_summary', dummy_tensor)
62 image_summary = summary.image('image_summary', dummy_tensor)
63 scalar_summary = summary.scalar('scalar_summary', dummy_tensor)
64 tensor_summary = summary.tensor_summary('tensor_summary', dummy_tensor)
71 logging_ops.Print(dummy_tensor, [dummy_tensor], name='print_op')
/external/tensorflow/tensorflow/python/distribute/
Dinput_lib.py1498 dummy_tensor = array_ops.zeros(tensor_shape.TensorShape(dims), feature_type)
1503 dummy_tensor = ragged_tensor.RaggedTensor.from_nested_row_splits(
1504 dummy_tensor, (row_splits,) * spec._ragged_rank, validate=False)
1506 return dummy_tensor
/external/tensorflow/tensorflow/core/common_runtime/
Ddirect_session_test.cc1005 Tensor dummy_tensor(DT_FLOAT, TensorShape({1})); in TEST() local
1006 test::FillValues<float>(&dummy_tensor, {-1.0}); in TEST()
1008 Node* left = test::graph::Constant(&graph, dummy_tensor); in TEST()
1009 Node* right = test::graph::Constant(&graph, dummy_tensor); in TEST()
/external/tensorflow/tensorflow/lite/python/
Dlite_test.py305 dummy_tensor = np.ones(shape=[1, 16, 16, 3], dtype=np.float32)
307 interpreter.set_tensor(input_index, dummy_tensor)