Home
last modified time | relevance | path

Searched refs:resize_op (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/python/tools/
Doptimize_for_inference_lib.py417 resize_op = node_from_map(input_node_map, mirror_pad_op.input[0])
418 if resize_op.op != "ResizeBilinear":
419 resize_op = None
423 resize_op = input_op
425 resize_op = None
428 if not mirror_pad_op and not resize_op:
435 if resize_op:
436 node_reference_count[resize_op.name] -= 1
439 if resize_op:
461 if resize_op:
[all …]
Doptimize_for_inference_test.py233 resize_op = image_ops.resize_bilinear(
235 pad_op = array_ops.pad(resize_op, [[0, 0], [1, 1], [2, 2], [0, 0]],
265 resize_op = image_ops.resize_bilinear(
271 resize_op, weights_op, [1, 1, 1, 1], padding="VALID", name="output")
/external/tensorflow/tensorflow/tools/graph_transforms/
Dfuse_convolutions_test.cc55 Output resize_op = ResizeBilinear(root.WithOpName("resize_op"), input_op, in TestFuseResizePadAndConv() local
64 MirrorPad(root.WithOpName("pad_op"), resize_op, pad_dims_op, "REFLECT"); in TestFuseResizePadAndConv()
112 Output resize_op = ResizeBilinear(root.WithOpName("resize_op"), input_op, in TestFuseResizeAndConv() local
122 Output conv_op = Conv2D(root.WithOpName("output"), resize_op, weights_op, in TestFuseResizeAndConv()
/external/tensorflow/tensorflow/lite/examples/label_image/
Dbitmap_helpers_impl.h59 const TfLiteRegistration* resize_op = in resize() local
64 interpreter->AddNodeWithParameters({0, 1}, {2}, nullptr, 0, params, resize_op, in resize()
/external/tensorflow/tensorflow/lite/toco/
Dexport_tensorflow.cc1403 tensorflow::NodeDef* resize_op = tensorflow_graph->add_node(); in ConvertResizeBilinearOperator() local
1404 resize_op->set_op("ResizeBilinear"); in ConvertResizeBilinearOperator()
1405 resize_op->set_name(src_op.outputs[0]); in ConvertResizeBilinearOperator()
1407 *resize_op->add_input() = src_op.inputs[0]; in ConvertResizeBilinearOperator()
1408 *resize_op->add_input() = src_op.inputs[1]; in ConvertResizeBilinearOperator()
1409 (*resize_op->mutable_attr())["T"].set_type(DT_FLOAT); in ConvertResizeBilinearOperator()
1410 (*resize_op->mutable_attr())["align_corners"].set_b(src_op.align_corners); in ConvertResizeBilinearOperator()
/external/tensorflow/tensorflow/python/ops/
Dimage_ops_test.py702 resize_op = image_ops.resize_bilinear(
704 deps = [resize_op]
750 resize_op = image_ops.resize_bicubic(
752 deps = [resize_op]
808 resize_op = image_ops.resize_area(img, [299, 299], align_corners=False)
809 deps = [resize_op]