Fix build errors
This commit is contained in:
parent
7be1d208ff
commit
fec35f30f3
@ -521,7 +521,7 @@ class TFETensorUtilTest(test_util.TensorFlowTestCase):
|
||||
|
||||
@test_util.assert_no_new_pyobjects_executing_eagerly
|
||||
def testTensorDir(self):
|
||||
t = array_ops.zeros(1)
|
||||
t = array_ops.ones(1)
|
||||
t.test_attr = "Test"
|
||||
|
||||
instance_dir = dir(t)
|
||||
|
@ -24,7 +24,6 @@ import time
|
||||
import numpy as np
|
||||
|
||||
from tensorflow.core.protobuf import config_pb2
|
||||
from tensorflow.python.compat import compat
|
||||
from tensorflow.python.client import session
|
||||
from tensorflow.python.framework import constant_op
|
||||
from tensorflow.python.framework import dtypes
|
||||
|
@ -19,10 +19,8 @@ from __future__ import division
|
||||
from __future__ import print_function
|
||||
|
||||
from tensorflow.python.eager import backprop
|
||||
from tensorflow.python.eager import context
|
||||
from tensorflow.python.framework import dtypes
|
||||
from tensorflow.python.framework import ops
|
||||
from tensorflow.python.framework import tensor_util
|
||||
from tensorflow.python.ops import array_ops
|
||||
from tensorflow.python.ops import gen_nn_ops
|
||||
from tensorflow.python.ops import math_ops
|
||||
|
Loading…
Reference in New Issue
Block a user