| 780 | } |
| 781 | |
| 782 | void ConvertLogOperator(const LogOperator& src_op, GraphDef* tensorflow_graph) { |
| 783 | tensorflow::NodeDef* op = tensorflow_graph->add_node(); |
| 784 | op->set_op("Log"); |
| 785 | op->set_name(src_op.outputs[0]); |
| 786 | CHECK_EQ(src_op.inputs.size(), 1); |
| 787 | *op->add_input() = src_op.inputs[0]; |
| 788 | (*op->mutable_attr())["T"].set_type(DT_FLOAT); |
| 789 | } |
| 790 | |
| 791 | void ConvertLogisticOperator(const LogisticOperator& src_op, |
| 792 | GraphDef* tensorflow_graph) { |
no test coverage detected