• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2015 The TensorFlow Authors. All Rights Reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#     http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14# ==============================================================================
15
16# pylint: disable=unused-import
17"""Import names of Tensor Flow standard Ops."""
18
19from __future__ import absolute_import
20from __future__ import division
21from __future__ import print_function
22
23import sys as _sys
24
25from tensorflow.python import autograph
26
27# pylint: disable=g-bad-import-order
28# Imports the following modules so that @RegisterGradient get executed.
29from tensorflow.python.ops import array_grad
30from tensorflow.python.ops import cudnn_rnn_grad
31from tensorflow.python.ops import data_flow_grad
32from tensorflow.python.ops import manip_grad
33from tensorflow.python.ops import math_grad
34from tensorflow.python.ops import random_grad
35from tensorflow.python.ops import sparse_grad
36from tensorflow.python.ops import state_grad
37from tensorflow.python.ops import tensor_array_grad
38
39
40# go/tf-wildcard-import
41# pylint: disable=wildcard-import
42from tensorflow.python.ops.array_ops import *
43from tensorflow.python.ops.check_ops import *
44from tensorflow.python.ops.clip_ops import *
45from tensorflow.python.ops.special_math_ops import *
46# TODO(vrv): Switch to import * once we're okay with exposing the module.
47from tensorflow.python.ops.confusion_matrix import confusion_matrix
48from tensorflow.python.ops.control_flow_ops import Assert
49from tensorflow.python.ops.control_flow_ops import case
50from tensorflow.python.ops.control_flow_ops import cond
51from tensorflow.python.ops.control_flow_ops import group
52from tensorflow.python.ops.control_flow_ops import no_op
53from tensorflow.python.ops.control_flow_ops import tuple  # pylint: disable=redefined-builtin
54# pylint: enable=redefined-builtin
55from tensorflow.python.eager import wrap_function
56from tensorflow.python.ops.control_flow_ops import while_loop
57from tensorflow.python.ops.critical_section_ops import *
58from tensorflow.python.ops.data_flow_ops import *
59from tensorflow.python.ops.functional_ops import *
60from tensorflow.python.ops.gradients import *
61from tensorflow.python.ops.histogram_ops import *
62from tensorflow.python.ops.init_ops import *
63from tensorflow.python.ops.io_ops import *
64from tensorflow.python.ops.linalg_ops import *
65from tensorflow.python.ops.logging_ops import Print
66from tensorflow.python.ops.logging_ops import get_summary_op
67from tensorflow.python.ops.logging_ops import timestamp
68from tensorflow.python.ops.lookup_ops import initialize_all_tables
69from tensorflow.python.ops.lookup_ops import tables_initializer
70from tensorflow.python.ops.manip_ops import *
71from tensorflow.python.ops.math_ops import *
72from tensorflow.python.ops.numerics import *
73from tensorflow.python.ops.parsing_ops import *
74from tensorflow.python.ops.partitioned_variables import *
75from tensorflow.python.ops.ragged import ragged_dispatch as _ragged_dispatch
76from tensorflow.python.ops.ragged import ragged_operators as _ragged_operators
77from tensorflow.python.ops.random_ops import *
78from tensorflow.python.ops.script_ops import py_func
79from tensorflow.python.ops.session_ops import *
80from tensorflow.python.ops.sort_ops import *
81from tensorflow.python.ops.sparse_ops import *
82from tensorflow.python.ops.state_ops import assign
83from tensorflow.python.ops.state_ops import assign_add
84from tensorflow.python.ops.state_ops import assign_sub
85from tensorflow.python.ops.state_ops import count_up_to
86from tensorflow.python.ops.state_ops import scatter_add
87from tensorflow.python.ops.state_ops import scatter_div
88from tensorflow.python.ops.state_ops import scatter_mul
89from tensorflow.python.ops.state_ops import scatter_sub
90from tensorflow.python.ops.state_ops import scatter_min
91from tensorflow.python.ops.state_ops import scatter_max
92from tensorflow.python.ops.state_ops import scatter_update
93from tensorflow.python.ops.state_ops import scatter_nd_add
94from tensorflow.python.ops.state_ops import scatter_nd_sub
95# TODO(simister): Re-enable once binary size increase due to scatter_nd
96# ops is under control.
97# from tensorflow.python.ops.state_ops import scatter_nd_mul
98# from tensorflow.python.ops.state_ops import scatter_nd_div
99from tensorflow.python.ops.state_ops import scatter_nd_update
100from tensorflow.python.ops.stateless_random_ops import *
101from tensorflow.python.ops.string_ops import *
102from tensorflow.python.ops.template import *
103from tensorflow.python.ops.tensor_array_ops import *
104from tensorflow.python.ops.variable_scope import *
105from tensorflow.python.ops.variables import *
106# pylint: enable=wildcard-import
107# pylint: enable=g-bad-import-order
108
109
110# These modules were imported to set up RaggedTensor operators and dispatchers:
111del _ragged_dispatch, _ragged_operators
112