Home
last modified time | relevance | path

Searched refs:weights_op (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/python/tools/
Doptimize_for_inference_test.py138 weights_op = constant_op.constant(
141 input_op, weights_op, [1, 1, 1, 1], padding="SAME", name="conv_op")
190 weights_op = constant_op.constant(
194 weights_op = constant_op.constant(
198 weights_op, [1, 1, 1, 1],
250 weights_op = constant_op.constant(
254 weights_op = constant_op.constant(
267 weights_op, [1, 1, 1, 1],
307 weights_op = constant_op.constant(
310 pad_op, weights_op, [1, 1, 1, 1], padding="VALID", name="output")
[all …]
Doptimize_for_inference_lib.py269 weights_op = node_from_map(input_node_map, conv_op.input[1])
270 if weights_op.op != "Const":
273 " run first?" % (conv_op.name, weights_op))
275 weights = values_from_const(weights_op)
343 nodes_to_skip[weights_op.name] = True
374 scaled_weights_op.attr["dtype"].CopyFrom(weights_op.attr["dtype"])
380 if weights_node == weights_op.name:
/external/tensorflow/tensorflow/tools/graph_transforms/
Dfold_batch_norms_test.cc53 Output weights_op = in TestFoldBatchNormsConv2D() local
56 Output conv_op = Conv2D(root.WithOpName("conv_op"), input_op, weights_op, in TestFoldBatchNormsConv2D()
104 Output weights_op = in TestFoldBatchNormsDepthwiseConv2dNative() local
108 weights_op, {1, 1, 1, 1}, "VALID"); in TestFoldBatchNormsDepthwiseConv2dNative()
155 Output weights_op = in TestFoldBatchNormsConv2DShared() local
158 Output conv_op = Conv2D(root.WithOpName("conv_op"), input_op, weights_op, in TestFoldBatchNormsConv2DShared()
212 Output weights_op = in TestFoldBatchNormsMatMul() local
216 MatMul(root.WithOpName("matmul_op"), input_op, weights_op); in TestFoldBatchNormsMatMul()
Dfuse_convolutions_test.cc69 Output weights_op = in TestFuseResizePadAndConv() local
72 Output conv_op = Conv2D(root.WithOpName("output"), pad_op, weights_op, in TestFuseResizePadAndConv()
119 Output weights_op = in TestFuseResizeAndConv() local
122 Output conv_op = Conv2D(root.WithOpName("output"), resize_op, weights_op, in TestFuseResizeAndConv()
171 Output weights_op = in TestFusePadAndConv() local
174 Output conv_op = Conv2D(root.WithOpName("output"), pad_op, weights_op, in TestFusePadAndConv()
Dfold_old_batch_norms_test.cc54 Output weights_op = in TestFoldOldBatchNorms() local
57 Output conv_op = Conv2D(root.WithOpName("conv_op"), input_op, weights_op, in TestFoldOldBatchNorms()
138 Output weights_op = in TestFoldOldBatchNormsAfterDepthwiseConv2dNative() local
142 weights_op, {1, 1, 1, 1}, "VALID"); in TestFoldOldBatchNormsAfterDepthwiseConv2dNative()
216 Output weights_op = in TestFoldFusedBatchNorms() local
219 Output conv_op = Conv2D(root.WithOpName("conv_op"), input_op, weights_op, in TestFoldFusedBatchNorms()
293 Output weights_op = in TestFoldFusedBatchNormsAfterDepthwiseConv2dNative() local
297 weights_op, {1, 1, 1, 1}, "VALID"); in TestFoldFusedBatchNormsAfterDepthwiseConv2dNative()
472 Output weights_op = in TestFoldFusedBatchNormsWithBatchToSpace() local
475 Output conv_op = Conv2D(root.WithOpName("conv_op"), input_op, weights_op, in TestFoldFusedBatchNormsWithBatchToSpace()
Dround_weights_test.cc56 Output weights_op = in TestRoundWeights() local
59 Output conv_op = Conv2D(root.WithOpName("output"), input_op, weights_op, in TestRoundWeights()
Dflatten_atrous_test.cc67 Output weights_op = in TestFlattenAtrousConv() local
71 weights_op, {1, 1, 1, 1}, "VALID"); in TestFlattenAtrousConv()
Dquantize_weights_test.cc52 Output weights_op = ops::Const(root.WithOpName("weights_op"), in BuildGraphDef() local
56 weights_op, {1, 1, 1, 1}, "VALID"); in BuildGraphDef()