Fix benchmark regression.
PiperOrigin-RevId: 215278033
This commit is contained in:
parent
d7edbeb8dc
commit
094e1953b7
@ -63,9 +63,9 @@ def build_graph(device, dtype, data_format, input_shape, filter_shape, strides,
|
||||
An array of tensors to run()
|
||||
"""
|
||||
with ops.device("/%s:0" % device):
|
||||
inp = variables.Variable(
|
||||
inp = variables.VariableV1(
|
||||
random_ops.truncated_normal(input_shape, dtype=dtype))
|
||||
filt = variables.Variable(
|
||||
filt = variables.VariableV1(
|
||||
random_ops.truncated_normal(filter_shape, dtype=dtype))
|
||||
|
||||
outputs = []
|
||||
|
Loading…
Reference in New Issue
Block a user