Searched refs:params_op (Results 1 – 1 of 1) sorted by relevance
1662 tensorflow::NodeDef* params_op = tensorflow_graph->add_node(); in ConvertPadOperator() local1663 params_op->set_op("Const"); in ConvertPadOperator()1664 params_op->set_name(src_op.inputs[1]); in ConvertPadOperator()1665 (*params_op->mutable_attr())["dtype"].set_type(DT_INT32); in ConvertPadOperator()1666 auto* tensor = (*params_op->mutable_attr())["value"].mutable_tensor(); in ConvertPadOperator()1694 tensorflow::NodeDef* params_op = tensorflow_graph->add_node(); in ConvertPadV2Operator() local1695 params_op->set_op("Const"); in ConvertPadV2Operator()1696 params_op->set_name(src_op.inputs[1]); in ConvertPadV2Operator()1697 (*params_op->mutable_attr())["dtype"].set_type(DT_INT32); in ConvertPadV2Operator()1698 auto* tensor = (*params_op->mutable_attr())["value"].mutable_tensor(); in ConvertPadV2Operator()[all …]