Home
last modified time | relevance | path

Searched refs:builtin_options (Results 1 – 25 of 61) sorted by relevance

123

/external/tensorflow/tensorflow/lite/testdata/
Dadd.json54 builtin_options: {
66 builtin_options: {
Dadd_quantized_int8.json98 builtin_options: {
110 builtin_options: {
Dadd_quantized.json98 builtin_options: {
110 builtin_options: {
/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantize_weights.cc159 const LSTMOptionsT* options = op->builtin_options.AsLSTMOptions(); in IsHybridEvaluationOp()
249 op->builtin_options.AsBidirectionalSequenceLSTMOptions() in InsertQuantizableInputTensorsFromOperator()
253 op->builtin_options.AsBidirectionalSequenceRNNOptions() in InsertQuantizableInputTensorsFromOperator()
257 op->builtin_options.AsFullyConnectedOptions() in InsertQuantizableInputTensorsFromOperator()
261 op->builtin_options.AsBatchMatMulOptions() in InsertQuantizableInputTensorsFromOperator()
265 op->builtin_options.AsLSTMOptions()->asymmetric_quantize_inputs = in InsertQuantizableInputTensorsFromOperator()
269 op->builtin_options.AsRNNOptions()->asymmetric_quantize_inputs = in InsertQuantizableInputTensorsFromOperator()
273 op->builtin_options.AsSVDFOptions()->asymmetric_quantize_inputs = in InsertQuantizableInputTensorsFromOperator()
277 op->builtin_options.AsUnidirectionalSequenceLSTMOptions() in InsertQuantizableInputTensorsFromOperator()
281 op->builtin_options.AsSequenceRNNOptions() in InsertQuantizableInputTensorsFromOperator()
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/
Dmath.mlir89 // CHECK-NEXT: builtin_options: {
97 // CHECK-NEXT: builtin_options: {
105 // CHECK-NEXT: builtin_options: {
113 // CHECK-NEXT: builtin_options: {
Ddisable_flex_enable_builtin.mlir59 // CHECK-NEXT: builtin_options: {
66 // CHECK-NEXT: builtin_options: {
74 // CHECK-NEXT: builtin_options: {
Dif_op.mlir62 // CHECK-NEXT: builtin_options: {
98 // CHECK-NEXT: builtin_options: {
133 // CHECK-NEXT: builtin_options: {
Dcustom_op_with_tflite_op.mlir64 // CHECK-NEXT: builtin_options: {
77 // CHECK-NEXT: builtin_options: {
Dflex_op_with_tflite_op.mlir63 // CHECK-NEXT: builtin_options: {
76 // CHECK-NEXT: builtin_options: {
Doptional.mlir13 // CHECK-NEXT: builtin_options: {
Dwhile_op.mlir58 // CHECK-NEXT: builtin_options: {
152 // CHECK-NEXT: builtin_options: {
160 // CHECK-NEXT: builtin_options: {
Dtfl_while_op.mlir58 // CHECK-NEXT: builtin_options: {
152 // CHECK-NEXT: builtin_options: {
160 // CHECK-NEXT: builtin_options: {
Dsimple.mlir74 // CHECK-NEXT: builtin_options: {
82 // CHECK-NEXT: builtin_options: {
Dsignature_def.mlir71 // CHECK-NEXT: builtin_options: {
78 // CHECK-NEXT: builtin_options: {
Dtf_entry_function.mlir39 // CHECK: builtin_options: {
/external/tensorflow/tensorflow/lite/toco/tflite/
Dbuiltin_operator.h60 const BuiltinOptions* builtin_options, in Deserialize() argument
63 auto* options = static_cast<const TfLiteOptions*>(builtin_options); in Deserialize()
Dsimple_operator.h45 const BuiltinOptions* builtin_options, in Deserialize() argument
Dcustom_operator.h57 const BuiltinOptions* builtin_options, in Deserialize() argument
Dimport.cc126 ->Deserialize(input_op->builtin_options(), in ImportOperators()
139 new_op = ops_by_name.at(opname)->Deserialize(input_op->builtin_options(), in ImportOperators()
/external/tensorflow/tensorflow/lite/delegates/xnnpack/
Dreshape_tester.cc143 flatbuffers::Offset<void> builtin_options = 0; in CreateTfLiteModel() local
146 builtin_options = in CreateTfLiteModel()
157 builtin_options_type, builtin_options); in CreateTfLiteModel()
Dbinary_elementwise_tester.cc344 flatbuffers::Offset<void> builtin_options = 0; in CreateTfLiteModel() local
348 builtin_options = CreateAddOptions(builder, Activation()).Union(); in CreateTfLiteModel()
352 builtin_options = CreateDivOptions(builder, Activation()).Union(); in CreateTfLiteModel()
356 builtin_options = CreateMulOptions(builder, Activation()).Union(); in CreateTfLiteModel()
360 builtin_options = CreateSubOptions(builder, Activation()).Union(); in CreateTfLiteModel()
375 builtin_options_type, builtin_options)); in CreateTfLiteModel()
/external/tensorflow/tensorflow/lite/kernels/
Dtest_util.cc137 flatbuffers::Offset<void> builtin_options) { in SetBuiltinOp() argument
142 builtin_options, in SetBuiltinOp()
385 const flatbuffers::Offset<void>& builtin_options, in AddBuiltinOp() argument
392 builtin_options, in AddBuiltinOp()
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/
Dimport_json.json75 builtin_options: {
Doptional_input.json70 builtin_options: {
/external/tensorflow/tensorflow/lite/schema/
Dschema_generated.h9932 tflite::BuiltinOptionsUnion builtin_options;
9968 const void *builtin_options() const {
9973 …tinOptions_Conv2DOptions ? static_cast<const tflite::Conv2DOptions *>(builtin_options()) : nullptr;
9976 …seConv2DOptions ? static_cast<const tflite::DepthwiseConv2DOptions *>(builtin_options()) : nullptr;
9979 …eddingsOptions ? static_cast<const tflite::ConcatEmbeddingsOptions *>(builtin_options()) : nullptr;
9982 …ProjectionOptions ? static_cast<const tflite::LSHProjectionOptions *>(builtin_options()) : nullptr;
9985 …tinOptions_Pool2DOptions ? static_cast<const tflite::Pool2DOptions *>(builtin_options()) : nullptr;
9988 …BuiltinOptions_SVDFOptions ? static_cast<const tflite::SVDFOptions *>(builtin_options()) : nullptr;
9991 …::BuiltinOptions_RNNOptions ? static_cast<const tflite::RNNOptions *>(builtin_options()) : nullptr;
9994 …ConnectedOptions ? static_cast<const tflite::FullyConnectedOptions *>(builtin_options()) : nullptr;
[all …]

123