Home
last modified time | relevance | path

Searched refs:opdef (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/go/genop/internal/
Dgenop_test.go31 func GetAPIDef(t *testing.T, opdef *odpb.OpDef, apidefText string) *adpb.ApiDef {
32 opdefList := &odpb.OpList{Op: []*odpb.OpDef{opdef}}
41 apidef, err := apimap.Get(opdef.Name)
53 opdef string
59 opdef: `
85 opdef: `
138 opdef: `
184 opdef: `
311 opdef: `
355 opdef: `
[all …]
/external/tensorflow/tensorflow/core/framework/
Dload_library.cc64 const OpDef& opdef) -> Status { in LoadDynamicLibrary() argument
66 if (seen_op_names.find(opdef.name()) == seen_op_names.end()) { in LoadDynamicLibrary()
73 *library.op_list.add_op() = opdef; in LoadDynamicLibrary()
74 seen_op_names.insert(opdef.name()); in LoadDynamicLibrary()
/external/tensorflow/tensorflow/compiler/mlir/tfjs/translate/
Dtf_to_tfjs_json.cc55 tensorflow::OpDef opdef; in RegisterCustomOps() local
57 &opdef)) { in RegisterCustomOps()
63 [opdef](tensorflow::OpRegistrationData* op_reg_data) -> Status { in RegisterCustomOps()
64 *op_reg_data = tensorflow::OpRegistrationData(opdef); in RegisterCustomOps()
/external/tensorflow/tensorflow/lite/toco/python/
Dtoco_python_api.cc345 tensorflow::OpDef opdef; in RegisterCustomOpdefs() local
346 if (!tensorflow::protobuf::TextFormat::ParseFromString(tf_opdefs, &opdef)) { in RegisterCustomOpdefs()
356 [opdef]( in RegisterCustomOpdefs()
358 *op_reg_data = tensorflow::OpRegistrationData(opdef); in RegisterCustomOpdefs()
363 const char* node_name = opdef.name().c_str(); in RegisterCustomOpdefs()
364 const char* op_name = opdef.name().c_str(); in RegisterCustomOpdefs()
/external/tensorflow/tensorflow/compiler/mlir/lite/python/
Dtf_tfl_flatbuffer_helpers.cc163 tensorflow::OpDef opdef; in RegisterCustomBuiltinOps() local
165 &opdef)) { in RegisterCustomBuiltinOps()
170 tensorflow::OpRegistry::Global()->LookUp(opdef.name()); in RegisterCustomBuiltinOps()
174 [opdef](tensorflow::OpRegistrationData* op_reg_data) -> Status { in RegisterCustomBuiltinOps()
175 *op_reg_data = tensorflow::OpRegistrationData(opdef); in RegisterCustomBuiltinOps()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dtf_to_tfl_flatbuffer.cc79 tensorflow::OpDef opdef; in RegisterExtraTfOpDefs() local
81 &opdef)) { in RegisterExtraTfOpDefs()
88 [opdef](tensorflow::OpRegistrationData* op_reg_data) -> Status { in RegisterExtraTfOpDefs()
89 *op_reg_data = tensorflow::OpRegistrationData(opdef); in RegisterExtraTfOpDefs()
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/
Dgen_node_test.cc357 const OpDef* opdef; in TEST() local
358 Status nested_error = OpRegistry::Global()->LookUpOpDef("Zzzx", &opdef); in TEST()