Home
last modified time | relevance | path

Searched refs:maxpool_op (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/
Dexport_tensorflow.cc977 tensorflow::NodeDef* maxpool_op = tensorflow_graph->add_node(); in ConvertMaxPoolOperator() local
978 maxpool_op->set_op("MaxPool"); in ConvertMaxPoolOperator()
979 maxpool_op->set_name(src_op.outputs[0]); in ConvertMaxPoolOperator()
980 *maxpool_op->add_input() = src_op.inputs[0]; in ConvertMaxPoolOperator()
981 auto& strides = (*maxpool_op->mutable_attr())["strides"]; in ConvertMaxPoolOperator()
994 (*maxpool_op->mutable_attr())["padding"].set_s(padding); in ConvertMaxPoolOperator()
995 (*maxpool_op->mutable_attr())["T"].set_type(DT_FLOAT); in ConvertMaxPoolOperator()
996 auto& ksize = (*maxpool_op->mutable_attr())["ksize"]; in ConvertMaxPoolOperator()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dgeneric_layout_optimizer_transposer_test.cc2409 auto maxpool_op = in TEST_F() local
2412 auto z = ops::Identity(scope.WithOpName("z"), maxpool_op); in TEST_F()