Use resource_loader to reference in-tree resources.
PiperOrigin-RevId: 296283401 Change-Id: I8531d318a672c1d496f334932ec7355b1d343adf
This commit is contained in:
parent
2a91c19008
commit
5fc1ad961b
@ -27,9 +27,10 @@ from tensorflow.python.framework import test_util
|
|||||||
from tensorflow.python.ops import image_ops
|
from tensorflow.python.ops import image_ops
|
||||||
from tensorflow.python.ops import io_ops
|
from tensorflow.python.ops import io_ops
|
||||||
import tensorflow.python.ops.nn_grad # pylint: disable=unused-import
|
import tensorflow.python.ops.nn_grad # pylint: disable=unused-import
|
||||||
|
from tensorflow.python.platform import resource_loader
|
||||||
from tensorflow.python.platform import test
|
from tensorflow.python.platform import test
|
||||||
|
|
||||||
prefix_path = "tensorflow/core/lib"
|
prefix_path = resource_loader.get_path_to_datafile("../../core/lib")
|
||||||
|
|
||||||
|
|
||||||
class DecodeImageOpTest(test.TestCase):
|
class DecodeImageOpTest(test.TestCase):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user