| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2ec8905 commit b901807
38 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,9 +17,7 @@ | |||
| 17 | 17 | from __future__ import division | |
| 18 | 18 | from __future__ import print_function | |
| 19 | 19 | ||
| 20 | - import numpy as np | ||
| 21 | 20 | from tensorflow.contrib.copy_graph.python.util import copy_elements | |
| 22 | - from tensorflow.contrib.framework.python.framework import tensor_util | ||
| 23 | 21 | from tensorflow.python.client import session as session_lib | |
| 24 | 22 | from tensorflow.python.framework import constant_op | |
| 25 | 23 | from tensorflow.python.framework import ops | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -65,7 +65,6 @@ | |||
| 65 | 65 | import tensorflow as tf | |
| 66 | 66 | ||
| 67 | 67 | from tensorflow.contrib.eager.python import tfe | |
| 68 | - from tensorflow.python.eager import context | ||
| 69 | 68 | ||
| 70 | 69 | try: | |
| 71 | 70 | import matplotlib.pyplot as plt # pylint: disable=g-import-not-at-top | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,16 +27,11 @@ | |||
| 27 | 27 | from tensorflow.contrib.framework.python.ops import accumulate_n_v2 as av2 | |
| 28 | 28 | ||
| 29 | 29 | from tensorflow.python.eager import backprop | |
| 30 | - from tensorflow.python.eager import context as eager_context | ||
| 31 | - from tensorflow.python.eager import tape | ||
| 32 | 30 | ||
| 33 | 31 | ||
| 34 | 32 | from tensorflow.python.framework import constant_op | |
| 35 | - from tensorflow.python.framework import dtypes as dtypes_lib | ||
| 36 | 33 | from tensorflow.python.framework import ops | |
| 37 | 34 | from tensorflow.python.framework import test_util | |
| 38 | - from tensorflow.python.ops import gradients | ||
| 39 | - from tensorflow.python.ops import math_ops | ||
| 40 | 35 | from tensorflow.python.ops import resource_variable_ops | |
| 41 | 36 | from tensorflow.python.platform import test | |
| 42 | 37 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -22,7 +22,6 @@ | |||
| 22 | 22 | ||
| 23 | 23 | from tensorflow.contrib.framework.python.ops import accumulate_n_v2 as av2 | |
| 24 | 24 | ||
| 25 | - from tensorflow.python.framework import constant_op | ||
| 26 | 25 | from tensorflow.python.framework import dtypes as dtypes_lib | |
| 27 | 26 | from tensorflow.python.framework import ops | |
| 28 | 27 | from tensorflow.python.framework import test_util | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -32,9 +32,8 @@ | |||
| 32 | 32 | from tensorflow.python.ops import array_ops | |
| 33 | 33 | from tensorflow.python.ops import control_flow_ops | |
| 34 | 34 | from tensorflow.python.ops import variable_scope | |
| 35 | - from tensorflow.python.ops import gen_state_ops | ||
| 36 | - from tensorflow.python.platform import tf_logging as logging | ||
| 37 | 35 | from tensorflow.python.platform import resource_loader | |
| 36 | + from tensorflow.python.platform import tf_logging as logging | ||
| 38 | 37 | from tensorflow.python.training import saver as tf_saver | |
| 39 | 38 | from tensorflow.python.training import training_util | |
| 40 | 39 | from tensorflow.python.util.deprecation import deprecated | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,13 +18,8 @@ | |||
| 18 | 18 | from __future__ import division | |
| 19 | 19 | from __future__ import print_function | |
| 20 | 20 | ||
| 21 | - import numpy as np | ||
| 22 | - | ||
| 23 | - from six.moves import xrange # pylint: disable=redefined-builtin | ||
| 24 | - | ||
| 25 | 21 | from tensorflow.contrib.image.python.ops.single_image_random_dot_stereograms \ | |
| 26 | 22 | import single_image_random_dot_stereograms | |
| 27 | - from tensorflow.python.client import session | ||
| 28 | 23 | from tensorflow.python.framework import constant_op | |
| 29 | 24 | from tensorflow.python.framework import test_util | |
| 30 | 25 | from tensorflow.python.platform import googletest | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,13 +23,11 @@ | |||
| 23 | 23 | import os | |
| 24 | 24 | from os import path | |
| 25 | 25 | import random | |
| 26 | - import tempfile | ||
| 27 | 26 | import time | |
| 28 | 27 | ||
| 29 | 28 | import numpy as np | |
| 30 | 29 | from six.moves import urllib | |
| 31 | 30 | ||
| 32 | - from tensorflow.contrib.framework import deprecated | ||
| 33 | 31 | from tensorflow.python.platform import gfile | |
| 34 | 32 | ||
| 35 | 33 | Dataset = collections.namedtuple('Dataset', ['data', 'target']) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -20,7 +20,6 @@ | |||
| 20 | 20 | ||
| 21 | 21 | import numpy as np | |
| 22 | 22 | ||
| 23 | - from tensorflow.contrib.layers import conv2d | ||
| 24 | 23 | from tensorflow.contrib.learn.python.learn import ops | |
| 25 | 24 | from tensorflow.python.framework import constant_op | |
| 26 | 25 | from tensorflow.python.framework import dtypes | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -21,7 +21,6 @@ | |||
| 21 | 21 | from __future__ import division | |
| 22 | 22 | from __future__ import print_function | |
| 23 | 23 | ||
| 24 | - import numpy as np | ||
| 25 | 24 | import six | |
| 26 | 25 | ||
| 27 | 26 | from tensorflow.contrib.framework.python.ops import add_arg_scope | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,15 +18,13 @@ | |||
| 18 | 18 | ||
| 19 | 19 | import numbers | |
| 20 | 20 | ||
| 21 | - from tensorflow.python.framework import dtypes | ||
| 22 | 21 | from tensorflow.python.framework import ops | |
| 23 | 22 | from tensorflow.python.framework import tensor_shape | |
| 24 | 23 | from tensorflow.python.framework import tensor_util | |
| 25 | 24 | from tensorflow.python.ops import array_ops | |
| 26 | 25 | from tensorflow.python.ops import random_ops | |
| 27 | 26 | from tensorflow.python.ops import gen_math_ops | |
| 28 | 27 | from tensorflow.python.ops import math_ops | |
| 29 | - from tensorflow.python.ops import nn_impl | ||
| 30 | 28 | ||
| 31 | 29 | ||
| 32 | 30 | def alpha_dropout(x, keep_prob, noise_shape=None, seed=None, name=None): # pylint: disable=invalid-name | |
| Back | FazBrowse Home | New Git URL |
0 commit comments