/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/ |
poisson_lognormal_test.py | 36 shape=[] if self.static_shape else None), 39 shape=[] if self.static_shape else None), 50 shape=[] if self.static_shape else None), 53 shape=[] if self.static_shape else None), 64 shape=[2] if self.static_shape else None), 67 shape=[] if self.static_shape else None), 78 shape=[2] if self.static_shape else None), 81 shape=[] if self.static_shape else None), 92 shape=[2, 1] if self.static_shape else None), 95 shape=[1, 2] if self.static_shape else None) 120 def static_shape(self): member in class:PoissonLogNormalQuadratureCompoundStaticShapeTest 128 def static_shape(self): member in class:PoissonLogNormalQuadratureCompoundDynamicShapeTest [all...] |
independent_test.py | 129 def _testMnistLike(self, static_shape): 141 dtypes.float32, shape=logits.shape if static_shape else None) 162 if static_shape: 177 self._testMnistLike(static_shape=True) 180 self._testMnistLike(static_shape=False)
|
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
feature_column_ops.py | 84 static_shape = tensor.get_shape() 85 if static_shape is not None and static_shape.dims is not None: 86 reshaped.set_shape(static_shape.as_list() + [1]) [all...] |
layers.py | [all...] |
layers_test.py | [all...] |
/external/tensorflow/tensorflow/python/estimator/canned/ |
head.py | 254 static_shape = labels.shape 255 if static_shape.ndims is not None: 256 dim1 = static_shape[-1] 361 static_shape = logits.shape 362 if static_shape.ndims is not None and static_shape[-1] is not None: 363 if static_shape[-1] != expected_logits_dimension: 366 'got %s.' % (static_shape,)) [all...] |
/external/tensorflow/tensorflow/python/ops/distributions/ |
distribution.py | 476 static_shape = tensor_util.constant_value(shape) 477 if static_shape is None: 480 static_params[name] = tensor_shape.TensorShape(static_shape) [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/ |
batch_matmul_op_test.py | 79 def _compare(self, x_in, y_in, adjoint_a, adjoint_b, static_shape=True): 87 if static_shape:
|
/external/tensorflow/tensorflow/python/layers/ |
utils.py | 240 def static_shape(x): function
|
network.py | [all...] |
base.py | [all...] |
/external/tensorflow/tensorflow/python/ops/ |
sparse_ops.py | 310 static_shape = array_ops.broadcast_static_shape(a.get_shape(), 312 if static_shape.is_fully_defined(): 313 output_shape = static_shape.as_list() [all...] |
image_ops_impl.py | 106 static_shape = image.get_shape().with_rank(rank).as_list() 109 s if s is not None else d for s, d in zip(static_shape, dynamic_shape) [all...] |
/external/tensorflow/tensorflow/compiler/jit/ |
encapsulate_subgraphs_pass.cc | 1931 std::vector<TensorShapeProto> static_shape; local [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
util_test.py | 720 static_shape = None if use_deferred_shape else x_.shape 721 x_pl = array_ops.placeholder_with_default(x_, shape=static_shape) [all...] |
/external/python/cpython3/Modules/ |
_testbuffer.c | 2697 static Py_ssize_t static_shape[1] = {12}; variable [all...] |