/external/libtextclassifier/native/utils/tflite/ |
D | string_projection_base.cc | 53 const flexbuffers::Map& custom_options) in StringProjectionOpBase() argument 54 : hash_function_(custom_options["hash_function"].AsTypedVector()), in StringProjectionOpBase() 55 num_hash_(custom_options["num_hash"].AsInt32()), in StringProjectionOpBase() 56 num_bits_(custom_options["num_bits"].AsInt32()), in StringProjectionOpBase() 57 binary_projection_(custom_options["binary_projection"].AsBool()), in StringProjectionOpBase() 58 hash_method_(custom_options["hash_method"].ToString()), in StringProjectionOpBase() 59 axb_scale_(custom_options["axb_scale"].AsFloat()) { in StringProjectionOpBase() 61 .ngram_size = custom_options["ngram_size"].AsInt32(), in StringProjectionOpBase() 62 .max_skip_size = custom_options["max_skip_size"].AsInt32(), in StringProjectionOpBase() 63 .include_all_ngrams = custom_options["include_all_ngrams"].AsBool(), in StringProjectionOpBase() [all …]
|
D | blacklist.cc | 35 explicit BlacklistOp(const flexbuffers::Map& custom_options) in BlacklistOp() argument 36 : BlacklistOpBase(custom_options), in BlacklistOp() 37 skipgram_finder_(custom_options["max_skip_size"].AsInt32()), in BlacklistOp() 39 auto blacklist = custom_options["blacklist"].AsTypedVector(); in BlacklistOp() 41 custom_options["blacklist_category"].AsTypedVector(); in BlacklistOp()
|
D | blacklist_base.h | 54 explicit BlacklistOpBase(const flexbuffers::Map& custom_options) in BlacklistOpBase() argument 55 : categories_(custom_options["categories"].AsInt32()), in BlacklistOpBase() 56 negative_categories_(custom_options["negative_categories"].AsInt32()) {} in BlacklistOpBase()
|
D | string_projection.cc | 520 explicit StringProjectionOp(const flexbuffers::Map& custom_options) in StringProjectionOp() argument 521 : StringProjectionOpBase(custom_options), in StringProjectionOp() 523 custom_options["token_separators"].AsString().str(), in StringProjectionOp() 524 custom_options["normalize_repetition"].AsBool()), in StringProjectionOp() 526 if (custom_options["max_input_chars"].IsInt()) { in StringProjectionOp() 528 custom_options["max_input_chars"].AsInt32(); in StringProjectionOp()
|
D | string_projection_base.h | 98 explicit StringProjectionOpBase(const flexbuffers::Map& custom_options);
|
/external/tensorflow/tensorflow/lite/toco/tflite/ |
D | custom_operator.h | 58 const CustomOptions* custom_options) const override { in Deserialize() argument 60 if (custom_options) { in Deserialize() 62 flexbuffers::GetRoot(custom_options->data(), custom_options->size()) in Deserialize()
|
D | simple_operator.h | 46 const CustomOptions* custom_options) const override { in Deserialize() argument
|
D | builtin_operator.h | 61 const CustomOptions* custom_options) const override { in Deserialize() argument
|
D | import.cc | 127 input_op->custom_options()); in ImportOperators() 140 input_op->custom_options()); in ImportOperators()
|
D | operator.h | 89 const CustomOptions* custom_options) const = 0;
|
/external/tensorflow/tensorflow/compiler/mlir/lite/ |
D | flatbuffer_operator.cc | 240 const std::string& custom_code, const std::vector<uint8_t>& custom_options, in CustomOptionsToAttributes() argument 246 content.assign(reinterpret_cast<const char*>(custom_options.data()), in CustomOptionsToAttributes() 247 custom_options.size()); in CustomOptionsToAttributes() 249 {static_cast<int64_t>(custom_options.size())}, builder.getIntegerType(8)); in CustomOptionsToAttributes()
|
D | flatbuffer_operator.h | 69 const std::string &custom_code, const std::vector<uint8_t> &custom_options,
|
/external/tensorflow/tensorflow/lite/tools/ |
D | list_flex_ops_test.cc | 74 const std::vector<uint8_t>& custom_options) { in FlexOpModel() argument 78 SetCustomOp(op_name, custom_options, Register_TEST); in FlexOpModel()
|
/external/tensorflow/tensorflow/lite/tools/serialization/ |
D | writer_lib.cc | 118 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> custom_options = 0; in ExportOperators() local 132 custom_writer->second(fbb, subgraph_, op_index, &custom_options, in ExportOperators() 136 custom_options = fbb->CreateVector( in ExportOperators() 151 custom_options, custom_options_format)); in ExportOperators()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/ |
D | hashtable_resource.mlir | 25 // CHECK: custom_options:
|
D | type_attr.mlir | 25 // CHECK: custom_options: [ 100, 116, 121, 112, 101, 0, 1, 7, 1, 1, 1, 2, 4, 2, 36, 1 ]
|
D | flex_exclusively.mlir | 32 // CHECK-NEXT: custom_options: [ 5, 65, 100, 100, 86, 50, 0, 22, 18, 5, 65, 100, 100, 86, 50…
|
/external/perfetto/protos/perfetto/metrics/chrome/ |
D | test_chrome_metric.proto | 21 import "protos/perfetto/metrics/custom_options.proto";
|
D | frame_times.proto | 21 import "protos/perfetto/metrics/custom_options.proto";
|
D | reported_by_page.proto | 21 import "protos/perfetto/metrics/custom_options.proto";
|
D | scroll_jank.proto | 21 import "protos/perfetto/metrics/custom_options.proto";
|
D | media_metric.proto | 21 import "protos/perfetto/metrics/custom_options.proto";
|
/external/tensorflow/tensorflow/lite/ |
D | interpreter_builder.cc | 319 if (op_type != BuiltinOperator_CUSTOM && op->custom_options()) { in ParseNodes() 326 if (op->custom_options()) { in ParseNodes() 331 reinterpret_cast<const char*>(op->custom_options()->data()), in ParseNodes() 332 op->custom_options()->size(), nullptr, registration); in ParseNodes()
|
/external/perfetto/protos/perfetto/metrics/ |
D | BUILD.gn | 29 sources = [ "custom_options.proto" ]
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | numeric_verify_test.cc | 55 std::vector<uint8_t> custom_options(sizeof(float)); in NumericVerifyOpModel() local
|