- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for TfLite (0.09 sec)
-
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
} else { return tflite::TensorType_INT4; } case 8: return itype.isUnsigned() ? tflite::TensorType_UINT8 : tflite::TensorType_INT8; case 16: return itype.isUnsigned() ? tflite::TensorType_UINT16 : tflite::TensorType_INT16; case 32: return itype.isUnsigned() ? tflite::TensorType_UINT32
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (2) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
return op.getFeatureGroupCount() > 1; } // Returns kernel output feature dimension of TFLite convolutions. int64_t GetConvolutionKernelOutputFeatureDimension(bool is_depthwise) { return is_depthwise ? 3 : 0; } // Returns kernel input feature dimension of TFLite convolutions. int64_t GetConvolutionKernelInputFeatureDimension(bool is_depthwise) { return is_depthwise ? 0 : 3; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
// Whether the TFLite operator has options in the schema representation. bit hasOptions = 0b0; // Whether the TFLite operator has options2 in the schema representation. bit hasOptions2 = 0b0; // Use to specify a custom options type for TFLite operators where // the option's name does not match the TFLite operator's name.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
bool wouldBeCloned) const final { return true; } bool isLegalToInline(Operation* op, Region* dest, bool wouldBeCloned, IRMapping&) const final { // No TFLite op restricts inlining today, revise as needed in the future. return true; } bool isLegalToInline(Region* dest, Region* src, bool wouldBeCloned, IRMapping& valueMapping) const final {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
axis.getValues<int>().end()}; for (int i = 0; i < shape.getRank(); ++i) { if (i != elems[i]) return false; } return true; } using ::llvm::cast; // Optimize TFLite operations in functions. class OptimizePass : public impl::OptimizePassBase<OptimizePass> { public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(OptimizePass) OptimizePass() = default;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
(kernel_input_channels != 1)) { return rewriter.notifyMatchFailure( conv_op, "Not a supported detphwise transposed convolution"); } // This needs to be checked because the TFLite runtime generated incorrect // results for depthwise transpose convolutions with non-1 channel // multiplier. if ((kernel_output_channels / feature_group_count) != 1) { return rewriter.notifyMatchFailure(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/ops.mlir
^bb0(%arg0: tensor<1x7x7x16xi32>): // expected-error @+1 {{'tfl.max_pool_2d' op operand #0 must be tensor of 32-bit float or QUI8 type or QI8 type or QI16 type or TFLite quint8 type values, but got 'tensor<1x7x7x16xi32>'}}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 189.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir
// The following functions tests example quantization patterns outputted from // StableHLO Quantizer. These patterns should be legalized early directly // to fused tflite ops. // ============================================================================ // Tests that a simple per-channel quantized `stablehlo.dot_general` is properly // lowered to fused `tfl.fully_connected`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 106.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/prepare-composite-functions-tf.mlir
// expected-warning @+1 {{TFLite does not support batched input for non_max_suppression_padded}}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 122.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
} // A helper class to import a TensorFlow model expressed in SavedModel V1 into // an MLIR Module in SavedModel dialect. // // TODO(b/179683149): Rename this class to avoid confusion with TFLite. class SavedModelSignatureDefImporterLite { public: // Main entry point: converts all functions (specified by SignatureDefs) in // the given meta graph to an MLIR Module. //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0)