Searched refs:tensor_metadata (Results 1 – 7 of 7) sorted by relevance
/external/tflite-support/tensorflow_lite_support/cc/task/vision/utils/ |
D | image_tensor_specs.cc | 67 const TensorMetadata& tensor_metadata) { in GetImagePropertiesIfAny() argument 68 if (tensor_metadata.content() == nullptr || in GetImagePropertiesIfAny() 69 tensor_metadata.content()->content_properties() == nullptr) { in GetImagePropertiesIfAny() 73 ContentProperties type = tensor_metadata.content()->content_properties_type(); in GetImagePropertiesIfAny() 80 tensor_metadata.name() ? tensor_metadata.name()->str() : "#0", in GetImagePropertiesIfAny() 85 return tensor_metadata.content()->content_properties_as_ImageProperties(); in GetImagePropertiesIfAny() 89 const TensorMetadata& tensor_metadata) { in GetNormalizationOptionsIfAny() argument 93 tensor_metadata, tflite::ProcessUnitOptions_NormalizationOptions)); in GetNormalizationOptionsIfAny()
|
/external/tflite-support/tensorflow_lite_support/cc/task/vision/ |
D | object_detector.cc | 66 const TensorMetadata& tensor_metadata) { in GetBoundingBoxProperties() argument 67 if (tensor_metadata.content() == nullptr || in GetBoundingBoxProperties() 68 tensor_metadata.content()->content_properties() == nullptr) { in GetBoundingBoxProperties() 73 tensor_metadata.name() ? tensor_metadata.name()->str() : "#0"), in GetBoundingBoxProperties() 77 ContentProperties type = tensor_metadata.content()->content_properties_type(); in GetBoundingBoxProperties() 83 tensor_metadata.name() ? tensor_metadata.name()->str() : "#0", in GetBoundingBoxProperties() 89 tensor_metadata.content()->content_properties_as_BoundingBoxProperties(); in GetBoundingBoxProperties() 127 const TensorMetadata& tensor_metadata, absl::string_view locale) { in GetLabelMapIfAny() argument 130 tensor_metadata, tflite::AssociatedFileType_TENSOR_VALUE_LABELS); in GetLabelMapIfAny() 138 tensor_metadata, tflite::AssociatedFileType_TENSOR_VALUE_LABELS, in GetLabelMapIfAny() [all …]
|
D | image_segmenter.cc | 114 const TensorMetadata& tensor_metadata, absl::string_view locale) { in GetLabelMapIfAny() argument 117 tensor_metadata, tflite::AssociatedFileType_TENSOR_AXIS_LABELS); in GetLabelMapIfAny() 125 tensor_metadata, tflite::AssociatedFileType_TENSOR_AXIS_LABELS, in GetLabelMapIfAny()
|
/external/tflite-support/tensorflow_lite_support/metadata/cc/ |
D | metadata_extractor.cc | 95 const tflite::TensorMetadata& tensor_metadata, in FindFirstProcessUnit() argument 98 if (tensor_metadata.process_units() == nullptr) { in FindFirstProcessUnit() 101 for (const auto process_unit : *tensor_metadata.process_units()) { in FindFirstProcessUnit() 119 const tflite::TensorMetadata& tensor_metadata, in FindFirstAssociatedFileName() argument 121 if (tensor_metadata.associated_files() == nullptr) { in FindFirstAssociatedFileName() 124 for (const auto associated_file : *tensor_metadata.associated_files()) { in FindFirstAssociatedFileName()
|
D | metadata_extractor.h | 56 FindFirstProcessUnit(const tflite::TensorMetadata& tensor_metadata, 65 const tflite::TensorMetadata& tensor_metadata,
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | snapshot_util.cc | 228 experimental::TensorMetadata* tensor_metadata = in WriteTensors() local 230 tensor.shape().AsProto(tensor_metadata->mutable_tensor_shape()); in WriteTensors() 242 tensor_metadata->set_tensor_size_bytes(size); in WriteTensors() 251 const auto& tensor_metadata = metadata.tensor_metadata(i); in WriteTensors() local 254 tensor_metadata.tensor_size_bytes()); in WriteTensors() 258 position, tensor_metadata.tensor_size_bytes()); in WriteTensors() 261 position += tensor_metadata.tensor_size_bytes(); in WriteTensors() 794 const auto& tensor_metadata = metadata->tensor_metadata(i); in SnappyUncompress() local 796 TensorShape shape(tensor_metadata.tensor_shape()); in SnappyUncompress() 804 absl::make_unique<char[]>(tensor_metadata.tensor_size_bytes()); in SnappyUncompress() [all …]
|
/external/tensorflow/tensorflow/core/protobuf/ |
D | snapshot.proto | 44 repeated TensorMetadata tensor_metadata = 1; field
|