# Path: tf_slim/ops/framework_ops.py
# def get_graph_from_inputs(op_input_list, graph=None):
# def get_name_scope():


import tensorflow.compat.v1 as tf
from tf_slim.ops import framework_ops as ops_lib
from tensorflow.python.framework import constant_op
from tensorflow.python.framework import ops
from tensorflow.python.platform import test
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""tensor_util tests."""

# pylint: disable=unused-import
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function

# pylint: disable=g-direct-tensorflow-import


def setUpModule():
  tf.disable_eager_execution()


class OpsTest(test.TestCase):

  def testGetGraphFromEmptyInputs(self):
    with ops.Graph().as_default() as g0:

# Path: tf_slim/ops/framework_ops.py
# def get_graph_from_inputs(op_input_list, graph=None):
# def get_name_scope():


# Path: tf_slim/ops/framework_ops_test.py
import tensorflow.compat.v1 as tf
from tf_slim.ops import framework_ops as ops_lib
from tensorflow.python.framework import constant_op
from tensorflow.python.framework import ops
from tensorflow.python.platform import test

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""tensor_util tests."""

# pylint: disable=unused-import
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function

# pylint: disable=g-direct-tensorflow-import


def setUpModule():
  tf.disable_eager_execution()


class OpsTest(test.TestCase):

  def testGetGraphFromEmptyInputs(self):
    with ops.Graph().as_default() as g0:

      self.assertIs(g0, ops_lib.get_graph_from_inputs([]))