/external/tensorflow/tensorflow/lite/testing/op_tests/ |
D | conv2d_transpose.py | 53 filter_tensor = tf.compat.v1.placeholder( 56 input_tensors = [input_tensor, filter_tensor] 66 filter_tensor,
|
D | conv_to_depthwiseconv_with_shared_weights.py | 56 filter_tensor = tf.constant( 64 filter_tensor, 71 filter_tensor,
|
D | conv_with_shared_weights.py | 58 filter_tensor = tf.constant( 69 filter_tensor, 76 filter_tensor,
|
/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | depthwise_conv_test.cc | 187 TfLiteTensor filter_tensor = CreateSymmetricPerChannelQuantizedTensor( in TestDepthwiseConvQuantizedPerChannel() local 218 filter_tensor, in TestDepthwiseConvQuantizedPerChannel() 720 TfLiteTensor filter_tensor = tflite::testing::CreateQuantizedTensor( in TF_LITE_MICRO_TEST() local 727 filter_tensor.quantization = {kTfLiteAffineQuantization, &filter_quant}; in TF_LITE_MICRO_TEST() 757 filter_tensor, in TF_LITE_MICRO_TEST() 815 TfLiteTensor filter_tensor = in TF_LITE_MICRO_TEST() local 838 filter_tensor, in TF_LITE_MICRO_TEST() 850 filter_tensor.quantization.params); in TF_LITE_MICRO_TEST() 949 TfLiteTensor filter_tensor = tflite::testing::CreateQuantizedTensor( in TF_LITE_MICRO_TEST() local 958 filter_tensor.quantization = {kTfLiteAffineQuantization, &filter_quant}; in TF_LITE_MICRO_TEST() [all …]
|
D | conv_test.cc | 468 TfLiteTensor filter_tensor = tflite::testing::CreateQuantizedTensor( in TF_LITE_MICRO_TEST() local 476 filter_tensor.quantization = {kTfLiteAffineQuantization, &filter_quant}; in TF_LITE_MICRO_TEST() 507 filter_tensor, in TF_LITE_MICRO_TEST() 553 TfLiteTensor filter_tensor = in TF_LITE_MICRO_TEST() local 577 filter_tensor, in TF_LITE_MICRO_TEST() 587 filter_tensor.quantization.params); in TF_LITE_MICRO_TEST() 680 TfLiteTensor filter_tensor = tflite::testing::CreateQuantizedTensor( in TF_LITE_MICRO_TEST() local 689 filter_tensor.quantization = {kTfLiteAffineQuantization, &filter_quant}; in TF_LITE_MICRO_TEST() 725 filter_tensor, in TF_LITE_MICRO_TEST()
|
D | conv_test_common.cc | 206 TfLiteTensor filter_tensor = CreateSymmetricPerChannelQuantizedTensor( in TestConvQuantizedPerChannel() local 234 filter_tensor, in TestConvQuantizedPerChannel()
|
D | transpose_conv_test.cc | 150 TfLiteTensor filter_tensor = CreateSymmetricPerChannelQuantizedTensor( in TestTransposeConvQuantized() local 164 CreateTensor(output_shape, output_shape_dims), filter_tensor, in TestTransposeConvQuantized()
|
/external/tensorflow/tensorflow/core/kernels/mkl/ |
D | mkl_conv_grad_input_ops.cc | 316 const Tensor& filter_tensor = MklGetInput(context, kFilterIdx); in Compute() local 334 src_tensor, filter_tensor.shape(), in Compute() 341 TensorShape filter_tf_shape = MakeFilterTfShape(context, filter_tensor); in Compute() 463 filter.SetUsrMem(fwd_filter_md, &filter_tensor); in Compute() 469 static_cast<T*>(const_cast<T*>(filter_tensor.flat<T>().data())); in Compute() 535 const Tensor& filter_tensor) { in MakeFilterTfShape() argument
|
D | mkl_conv_ops.cc | 501 const Tensor& filter_tensor = MklGetInput(context, kInputIndex_Filter); in Compute() local 629 filter.SetUsrMem(filter_md, &filter_tensor); in Compute() 700 CacheFilter(context, conv_fwd_pd, filter_data, filter_tensor, in Compute() 707 filter.SetUsrMem(filter_md, &filter_tensor); in Compute() 722 const_cast<Tfilter*>(filter_tensor.flat<Tfilter>().data())); in Compute() 976 Tensor** filter_tensor, in AllocatePersistentTensor() argument 978 DCHECK(filter_tensor); in AllocatePersistentTensor() 984 &cached_filter_data_ptensor_, filter_tensor)); in AllocatePersistentTensor() 1005 Tensor** filter_tensor) { in AllocatePersistentTensor() argument 1006 AllocatePersistentTensor(context, conv_prim_desc, filter_tensor, nullptr); in AllocatePersistentTensor() [all …]
|
D | mkl_conv_grad_filter_ops.cc | 373 const Tensor& filter_tensor = MklGetInput(context, kFilterIdx); in Compute() local 389 TensorShape filter_tf_shape = MakeFilterTfShape(context, filter_tensor); in Compute() 639 const Tensor& filter_tensor) { in MakeFilterTfShape() argument 641 CHECK_EQ(TensorShapeUtils::IsVector(filter_tensor.shape()), true); in MakeFilterTfShape() 642 CHECK_EQ(TensorShapeUtils::MakeShape(filter_tensor.vec<int32>(), in MakeFilterTfShape()
|
/external/tensorflow/tensorflow/lite/tools/versioning/ |
D | op_version.cc | 688 const Tensor* filter_tensor = in GetOpSignature() local 691 filter_tensor->quantization(); in GetOpSignature() 692 int num_channels = filter_tensor->shape()->Get(3); in GetOpSignature() 799 const Tensor* filter_tensor = in GetOpSignature() local 802 filter_tensor->quantization(); in GetOpSignature() 803 int num_channels = filter_tensor->shape()->Get(0); in GetOpSignature()
|
/external/tensorflow/tensorflow/lite/delegates/xnnpack/ |
D | xnnpack_delegate.cc | 1242 const TfLiteTensor& filter_tensor = tensors[node->inputs->data[1]]; in VisitConv2DNode() local 1244 logging_context, filter_tensor, node->inputs->data[1], node_index)); in VisitConv2DNode() 1245 TF_LITE_ENSURE_STATUS(CheckTensorShape(logging_context, filter_tensor, 4, in VisitConv2DNode() 1249 logging_context, filter_tensor, node->inputs->data[1], node_index)); in VisitConv2DNode() 1277 const int output_channels = filter_tensor.dims->data[0]; in VisitConv2DNode() 1278 const int kernel_height = filter_tensor.dims->data[1]; in VisitConv2DNode() 1279 const int kernel_width = filter_tensor.dims->data[2]; in VisitConv2DNode() 1280 const int input_channels = filter_tensor.dims->data[3]; in VisitConv2DNode() 1337 const TfLiteTensor& filter_tensor = tensors[node->inputs->data[1]]; in VisitDepthwiseConv2DNode() local 1339 logging_context, filter_tensor, node->inputs->data[1], node_index)); in VisitDepthwiseConv2DNode() [all …]
|
/external/tensorflow/tensorflow/lite/micro/kernels/arc_mli/ |
D | conv_slicing_test.cc | 214 TfLiteTensor filter_tensor = CreateSymmetricPerChannelQuantizedTensor( in TestConvQuantizedPerChannel() local 224 (TfLiteAffineQuantization*)filter_tensor.quantization.params; in TestConvQuantizedPerChannel() 227 int filter_size = filter_tensor.bytes; in TestConvQuantizedPerChannel() 229 filter_tensor.data.int8[i] = filter_data[i]; in TestConvQuantizedPerChannel() 258 filter_tensor, in TestConvQuantizedPerChannel()
|
D | depthwise_conv_slicing_test.cc | 143 TfLiteTensor filter_tensor = CreateSymmetricPerChannelQuantizedTensor( in TestDepthwiseConvQuantizedPerChannel() local 173 filter_tensor, in TestDepthwiseConvQuantizedPerChannel()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | conv_ops_3d_test.py | 399 filter_tensor = constant_op.constant( 403 filter_tensor, 515 filter_tensor = constant_op.constant( 527 filter_tensor, 543 filter_tensor, filter_shape, conv, output_shape)
|
D | depthwise_conv_op_test.py | 619 filter_tensor = constant_op.constant( 647 filter_tensor, 662 filter_tensor, filter_shape, depthwise_conv2d, output_shape)
|
D | conv_ops_test.py | 402 filter_tensor = self._CreateNumpyTensor(filter_in_sizes) 407 filter_tensor, [1] + list(strides) + [1], 1899 filter_tensor = constant_op.constant( 1912 filter_tensor, 1926 jacob_t, jacob_n = gradient_checker.compute_gradient(filter_tensor,
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | mkl_remapper_test.cc | 108 auto filter_tensor = GenerateRandomTensor<DT_FLOAT>( in FuseConv2DWithBiasAndAddNOrAdd() local 116 {"filter", filter_tensor}, in FuseConv2DWithBiasAndAddNOrAdd() 478 auto filter_tensor = GenerateRandomTensor<DT_FLOAT>( in TEST_F() local 486 {"filter", filter_tensor}, in TEST_F()
|
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/tests/ |
D | conv_test.cc | 99 auto* filter_tensor = interpreter_->tensor(filter_); in QuantizedConvolutionOpModel() local 100 filter_tensor->allocation_type = kTfLiteMmapRo; in QuantizedConvolutionOpModel()
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | depthwise_conv_op_test.py | 35 def ReferenceDepthwiseConv2D(input_tensor, filter_tensor, strides, padding, argument 40 in_channels = filter_tensor.shape[2] 50 filter_slice = filter_tensor[:, :, channel:channel+1, :]
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | quantize_nodes_test.cc | 329 Tensor filter_tensor( in TestQuantizeConv2D() local 331 test::FillValues<float>(&filter_tensor, filter_values); in TestQuantizeConv2D() 333 Const(root.WithOpName("filter_op"), Input::Initializer(filter_tensor)); in TestQuantizeConv2D()
|
/external/tensorflow/tensorflow/lite/delegates/nnapi/ |
D | nnapi_delegate.cc | 1794 const auto& filter_tensor = context->tensors[node->inputs->data[1]]; in Validate() local 1795 if (filter_tensor.quantization.type == kTfLiteAffineQuantization) { in Validate() 1798 filter_tensor.quantization.params); in Validate() 3144 const TfLiteTensor& filter_tensor = in Map() local 3150 input_tensor.params.scale * filter_tensor.params.scale; in Map() 3153 input_tensor.params.scale * filter_tensor.params.scale, in Map()
|