Searched refs:nodedef (Results 1 – 9 of 9) sorted by relevance
79 %type <node> nodedef155 '/' nodedef159 | devicetree '/' nodedef163 | dt_ref nodedef177 | devicetree DT_LABEL dt_ref nodedef188 | devicetree DT_PATH_REF nodedef207 | devicetree DT_LABEL_REF nodedef257 nodedef:557 DT_PROPNODENAME nodedef
115 tensorflow::NodeDef nodedef; in AddFlexOpsFromModel() local116 if (nodedef_str.empty() || !nodedef.ParseFromString(nodedef_str)) { in AddFlexOpsFromModel()120 *nodedef.mutable_device() = "/CPU:0"; in AddFlexOpsFromModel()121 std::string kernel_class = FindTensorflowKernelClass(&nodedef); in AddFlexOpsFromModel()
193 tensorflow::NodeDef nodedef; in AddTfOp() local195 nodedef_str + " op: '" + tf_name + "'", &nodedef)); in AddTfOp()197 CHECK(nodedef.SerializeToString(&serialized_nodedef)); in AddTfOp()200 fbb.String(nodedef.op()); in AddTfOp()
201 const tensorflow::NodeDef& nodedef() const { return nodedef_; } in nodedef() function in tflite::flex::OpNode490 if (node_data->nodedef().op().empty()) { in Prepare()524 TF_GRAPH_DEF_VERSION, node_data->nodedef(), in ValidateOutputTensorShapeConsistency()
193 tf::NodeDef nodedef; in ParseExampleOpModel() local196 if (!parser.Parse(&input_stream, &nodedef)) { in ParseExampleOpModel()200 nodedef.SerializeToString(&serialized_nodedef); in ParseExampleOpModel()203 fbb.String(nodedef.op()); in ParseExampleOpModel()
709 tf::NodeDef nodedef; in PrepareParseExample() local710 TF_LITE_ENSURE_EQ(context, nodedef.ParseFromString(v[1].AsString().str()), in PrepareParseExample()713 data->dense_size = nodedef.attr().at("Ndense").i(); in PrepareParseExample()714 data->sparse_size = nodedef.attr().at("Nsparse").i(); in PrepareParseExample()716 data->dense_size = nodedef.attr().at("Tdense").list().type_size(); in PrepareParseExample()717 data->sparse_size = nodedef.attr().at("num_sparse").i(); in PrepareParseExample()719 auto dense_shapes = nodedef.attr().at("dense_shapes").list(); in PrepareParseExample()
1 // RUN: tf-mlir-translate -test-only-mlir-to-tf-nodedef %s -o - | FileCheck %s
171 devicetree: '/' nodedef178 nodedef: '{' list_of_property list_of_subnode '}' ';'186 subnode: label nodename nodedef
649 nodedef = ops._NodeDef("None", "bar")650 self.assertProtoEquals("op: 'None' name: 'bar'", nodedef)