Home
last modified time | relevance | path

Searched refs:dim_val (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/contrib/distributions/python/ops/
Dwishart.py148 dim_val = tensor_util.constant_value(self._dimension)
149 if df_val is not None and dim_val is not None:
153 if any(df_val < dim_val):
157 % (df_val, dim_val))
/external/tensorflow/tensorflow/core/framework/
Dshape_inference.cc317 int64 dim_val = Value(Dim(s, i)); in NumElements() local
318 if (dim_val == kUnknownDim) { in NumElements()
320 } else if (dim_val == 0) { in NumElements()
323 size *= dim_val; in NumElements()
Dcommon_shape_fns.cc1399 auto dim_val = c->Value(dim); in SliceHelper() local
1402 "Out of bounds slicing on dimension ", i, " of length ", dim_val, in SliceHelper()
/external/tensorflow/tensorflow/python/ops/
Dnn_ops.py2835 dim_val = dim
2837 dim_val = tensor_util.constant_value(dim)
2838 if dim_val is not None and not -shape.ndims <= dim_val < shape.ndims:
2842 " dimensions in the input." % (dim_val, -shape.ndims, shape.ndims,