Searched refs:dim_val (Results 1 – 4 of 4) sorted by relevance
148 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))
317 int64 dim_val = Value(Dim(s, i)); in NumElements() local318 if (dim_val == kUnknownDim) { in NumElements()320 } else if (dim_val == 0) { in NumElements()323 size *= dim_val; in NumElements()
1399 auto dim_val = c->Value(dim); in SliceHelper() local1402 "Out of bounds slicing on dimension ", i, " of length ", dim_val, in SliceHelper()
2835 dim_val = dim2837 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,