- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for BuiltinOperator (0.28 sec)
-
tensorflow/compiler/mlir/lite/schema/schema_conversion_utils.h
namespace tflite { int8_t ConvertBuiltinCodeToDeprecatedBuiltinCode( const BuiltinOperator builtin_code); // The following methods are for backward compatibility for the early version // three, which does not have an extended builtin code. flatbuffers::Offset<OperatorCode> CreateOperatorCode( flatbuffers::FlatBufferBuilder &_fbb, BuiltinOperator builtin_code = BuiltinOperator_ADD,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/schema/schema_utils.cc
// the `builtin_code` as the right value. BuiltinOperator GetBuiltinCode(const OperatorCode* op_code) { // Caller should guarantee that the given argument value is not a nullptr. TFLITE_DCHECK(op_code != nullptr); return std::max( op_code->builtin_code(), static_cast<BuiltinOperator>(op_code->deprecated_builtin_code())); } BuiltinOperator GetBuiltinCode(const OperatorCodeT* op_code) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/schema/schema_utils.h
// problem. The new builtin operator will be assigned to the extended builtin // code field in the flatbuffer schema. Those methods helps to hide builtin code // details. BuiltinOperator GetBuiltinCode(const OperatorCode *op_code); BuiltinOperator GetBuiltinCode(const OperatorCodeT *op_code); } // namespace tflite
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 1.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/schema/schema_conversion_utils.cc
#include "tensorflow/compiler/mlir/lite/schema/schema_conversion_utils.h" #include <algorithm> namespace tflite { int8_t ConvertBuiltinCodeToDeprecatedBuiltinCode( const BuiltinOperator builtin_code) { return (builtin_code < BuiltinOperator_PLACEHOLDER_FOR_GREATER_OP_CODES) ? static_cast<int8_t>(builtin_code) : static_cast<int8_t>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights.h
struct CustomOpInfo { std::vector<std::int32_t> quantizable_input_indices; bool is_weight_only = false; bool no_side_effect = true; }; using BuiltinOperatorSet = absl::flat_hash_set<tflite::BuiltinOperator>; // Map from custom op code to custom op quantization information. using CustomOpMap = std::unordered_map<std::string, CustomOpInfo>; // Applies dynamic range quantization for the given model wehre the input_model
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 4.2K bytes - Viewed (0)