- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for dimension_type (0.34 sec)
-
tensorflow/compiler/mlir/lite/ir/tfl_op_enums.td
def TFL_DT_Dense : I32EnumAttrCase<"DENSE", 0>; def TFL_DT_SparseCSR : I32EnumAttrCase<"SPARSE_CSR", 1>; def TFL_DimensionType : I32EnumAttr< "DimensionType", "dimension_type", [TFL_DT_Dense, TFL_DT_SparseCSR]> { let genSpecializedAttr = 0; let cppNamespace = "::mlir::TFL"; } def TFL_DimensionTypeAttr : EnumAttr<TFL_Dialect, TFL_DimensionType, "dimension_type_attr"> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 20 00:05:24 UTC 2022 - 6.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc
builder->getContext(), ::mlir::TFL::DimensionType::DENSE), metadata[2 * i][0], {}, {}); } else { dim_metadata[i] = DimensionMetadataAttr::get( builder->getContext(), ::mlir::TFL::DimensionTypeAttr::get( builder->getContext(), ::mlir::TFL::DimensionType::SPARSE_CSR), 0, metadata[2 * i], metadata[2 * i + 1]); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs
format:DimensionType; // Index metadata used for a dimension. // - If format is DimensionType.DENSE then we use the dense_size field to // store the size of that dimension. Each index in that dimension is // stored implicitly. // - If format is DimensionType.SPARSE_CSR then we use array_segments and // array_indices to encode that dimension. array_segments represents how
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 14:28:27 UTC 2024 - 30K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/schema/schema.fbs
format:DimensionType; // Index metadata used for a dimension. // - If format is DimensionType.DENSE then we use the dense_size field to // store the size of that dimension. Each index in that dimension is // stored implicitly. // - If format is DimensionType.SPARSE_CSR then we use array_segments and // array_indices to encode that dimension. array_segments represents how
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
dim_metadata[i] = tfl::DimensionMetadataAttr::get( builder.getContext(), mlir::TFL::DimensionTypeAttr::get(builder.getContext(), tfl::DimensionType::DENSE), tensor.sparsity->dim_metadata[i]->dense_size, {}, {}); } else if (tensor.sparsity->dim_metadata[i]->format == tflite::DimensionType_SPARSE_CSR) { TF_ASSIGN_OR_RETURN(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/schema/schema_generated.h
enum DimensionType : int8_t { DimensionType_DENSE = 0, DimensionType_SPARSE_CSR = 1, DimensionType_MIN = DimensionType_DENSE, DimensionType_MAX = DimensionType_SPARSE_CSR }; inline const DimensionType (&EnumValuesDimensionType())[2] { static const DimensionType values[] = { DimensionType_DENSE, DimensionType_SPARSE_CSR };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 1M bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
const auto dim_metadata = mlir::dyn_cast<mlir::TFL::DimensionMetadataAttr>( s_attr.getDimMetadata()[i]); if (dim_metadata.getFormat().getValue() == mlir::TFL::DimensionType::DENSE) { fb_dim_metadata[i] = tflite::CreateDimensionMetadata( builder_, tflite::DimensionType_DENSE, dim_metadata.getDenseSize()); } else { auto segments = dim_metadata.getSegments();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (2)