Home
last modified time | relevance | path

Searched refs:op_sig (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/lite/tools/versioning/
Dop_version.cc52 int GetBuiltinOperatorVersion(const OpSignature& op_sig) { in GetBuiltinOperatorVersion() argument
53 switch (op_sig.op) { in GetBuiltinOperatorVersion()
57 if (op_sig.input_types.at(0) == TensorType_INT16 && in GetBuiltinOperatorVersion()
58 op_sig.input_types.at(1) == TensorType_INT16 && in GetBuiltinOperatorVersion()
59 op_sig.output_types.at(1) == TensorType_INT16) { in GetBuiltinOperatorVersion()
65 if (op_sig.input_types.at(0) == TensorType_INT8 && in GetBuiltinOperatorVersion()
66 op_sig.input_types.at(1) == TensorType_INT8 && in GetBuiltinOperatorVersion()
67 op_sig.output_types.at(0) == TensorType_INT8) { in GetBuiltinOperatorVersion()
72 if (op_sig.input_types.at(0) == TensorType_FLOAT32 && in GetBuiltinOperatorVersion()
73 op_sig.input_types.at(1) == TensorType_INT8 && in GetBuiltinOperatorVersion()
[all …]
Dop_version.h81 int GetBuiltinOperatorVersion(const OpSignature& op_sig);
/external/tensorflow/tensorflow/lite/toco/tflite/
Doperator.cc182 ::tflite::OpSignature op_sig = in GetVersion()
184 op_sig.options.depthwise_conv_2d.dilation_w_factor = in GetVersion()
186 op_sig.options.depthwise_conv_2d.dilation_h_factor = in GetVersion()
188 return ::tflite::GetBuiltinOperatorVersion(op_sig); in GetVersion()
246 ::tflite::OpSignature op_sig = in GetVersion()
248 op_sig.options.single_input_op.num_dims = in GetVersion()
250 return ::tflite::GetBuiltinOperatorVersion(op_sig); in GetVersion()
278 ::tflite::OpSignature op_sig = in GetVersion()
281 op_sig.options.addsub.num_dims = in GetVersion()
284 op_sig.options.addsub.need_broadcast = in GetVersion()
[all …]
/external/tensorflow/tensorflow/lite/g3doc/guide/
Dops_version.md207 op_sig.options.depthwise_conv_2d.dilation_w_factor =
209 op_sig.options.depthwise_conv_2d.dilation_h_factor =
224 if (op_sig.options.depthwise_conv_2d.dilation_w_factor != 1 ||
225 op_sig.options.depthwise_conv_2d.dilation_h_factor != 1) {