Home
last modified time | relevance | path

Searched defs:tensor_type (Results 1 – 25 of 65) sorted by relevance

123

/external/tensorflow/tensorflow/lite/delegates/xnnpack/
Ddepth_to_space_tester.cc38 void DepthToSpaceTester::Test(TensorType tensor_type, in Test()
85 void DepthToSpaceTester::Test<float>(TensorType tensor_type, in Test()
132 void DepthToSpaceTester::Test(TensorType tensor_type, in Test()
Dtranspose_tester.cc36 void TransposeTester::Test(TensorType tensor_type, in Test()
59 void TransposeTester::Test(TensorType tensor_type, in Test()
/external/tensorflow/tensorflow/compiler/mlir/tfrt/jit/transforms/
Dtf_jitrt_detensorize_linalg.cc50 bool IsNotZeroRankTensor(RankedTensorType tensor_type) { in IsNotZeroRankTensor()
67 auto tensor_type = in matchAndRewrite() local
Dtf_jitrt_legalize_i1_type.cc74 addConversion([](RankedTensorType tensor_type) -> Optional<Type> { in I1TypeConverter()
84 if (auto tensor_type = type.dyn_cast<RankedTensorType>()) { in isLegalType() local
/external/tensorflow/tensorflow/compiler/mlir/quantization/tensorflow/passes/
Dutils.cc29 auto tensor_type = operand_type.dyn_cast<TensorType>(); in HasQuantizedTensors() local
35 auto tensor_type = result_type.dyn_cast<TensorType>(); in HasQuantizedTensors() local
87 if (auto tensor_type = type.dyn_cast<TensorType>()) { in IsOperationFoldable() local
Dconvert_tf_quant_ops_to_mhlo.cc64 TensorType getSameShapeTensorType(TensorType tensor_type, Type element_type) { in getSameShapeTensorType()
/external/tensorflow/tensorflow/core/ir/
Dops_test.cc79 ShapedType tensor_type = RankedTensorType::get(/*shape=*/{}, b.getI1Type()); in TEST() local
121 ShapedType tensor_type = RankedTensorType::get(/*shape=*/{}, b.getI32Type()); in TEST() local
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dconstant_fold.cc53 auto tensor_type = t.cast<TensorType>(); in ShouldBeFolded() local
99 if (auto tensor_type = type.dyn_cast<TensorType>()) { in ConstantFoldFallbackHook() local
Dreadonly_references_to_resources.cc152 TensorType tensor_type = DropRefType(shaped_type).cast<TensorType>(); in runOnOperation() local
/external/tflite-support/tensorflow_lite_support/cc/task/vision/utils/
Dimage_tensor_specs.h67 TfLiteType tensor_type; member
/external/tensorflow/tensorflow/compiler/mlir/tfr/passes/
Draise_to_tf.cc138 auto tensor_type = input_tfr_type.dyn_cast<TFRTensorType>(); in CastToNonDerivedType() local
191 if (auto tensor_type = input_tfr_type.dyn_cast<TFRTensorType>()) { in AddDerivedAttrs() local
334 if (auto tensor_type = res.value().dyn_cast<TFRTensorType>()) { in DeriveOutputTypes() local
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/tests/
Dl2_norm_test.cc26 const TensorType tensor_type) { in L2NormOpModel()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dpin_ops_with_side_effects.cc40 const auto tensor_type = value.getType().dyn_cast<TensorType>(); in IsResourceTensor() local
/external/tensorflow/tensorflow/dtensor/cc/
Ddtensor_device_util.h232 virtual TensorType tensor_type() const { return TensorType::kDense; } in tensor_type() function
383 TensorType tensor_type() const override { return TensorType::kResource; } in tensor_type() function
477 TensorType tensor_type() const override { return TensorType::kSparse; } in tensor_type() function
/external/tensorflow/tensorflow/lite/kernels/
Dconcatenation_test.cc289 enum TensorType tensor_type = member
480 TensorType tensor_type; member
586 TensorType tensor_type = TensorType_FLOAT32; in Range() local
Dl2norm_test.cc34 const TensorType tensor_type, in L2NormOpModel()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dconvert_tensor.cc249 if (auto tensor_type = type.dyn_cast<mlir::RankedTensorType>()) { in ConvertTypeToTensorShape() local
265 if (auto tensor_type = type.dyn_cast<mlir::RankedTensorType>()) { in ConvertTypeToTensorShapeAttr() local
/external/eigen/unsupported/test/
Dcxx11_tensor_sycl.cpp99 using tensor_type = Tensor<DataType, 1, DataLayout, IndexType>; in test_sycl_mem_sync_offsets() typedef
153 using tensor_type = Tensor<DataType, 1, DataLayout, IndexType>; in test_sycl_memset_offsets() typedef
/external/tensorflow/tensorflow/compiler/mlir/tfrt/analysis/
Dcompatibility_analysis.cc143 if (auto tensor_type = type.dyn_cast<mlir::TensorType>()) { in AnalyzeVariable() local
/external/tensorflow/tensorflow/compiler/mlir/tfrt/ir/
Dtfrt_fallback_common.cc41 mlir::Type tensor_type, in ParseExecuteOpCommon()
/external/tensorflow/tensorflow/core/runtime_fallback/opdefs/
Dtfrt_fallback_common.cc41 mlir::Type tensor_type, in ParseExecuteOpCommon()
/external/tensorflow/tensorflow/core/ir/importexport/
Dconvert_tensor.cc251 if (auto tensor_type = type.dyn_cast<RankedTensorType>()) { in ConvertTypeToTensorShape() local
267 if (auto tensor_type = type.dyn_cast<RankedTensorType>()) { in ConvertTypeToTensorShapeAttr() local
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/analysis/
Dresource_value_typed_analyzer.cc30 if (auto tensor_type = type.dyn_cast<TensorType>()) { in IsResourceType() local
/external/tensorflow/tensorflow/lite/tools/
Dvisualize.py205 def TensorTypeToName(tensor_type): argument
/external/tensorflow/tensorflow/core/kernels/
Dload_and_remap_matrix_op.cc146 DataType tensor_type; in Compute() local

123