Searched refs:isShapeValid (Results 1 – 1 of 1) sorted by relevance
382 checkArgument(isShapeValid(shape), "Values in TensorBuffer shape should be non-negative."); in allocateMemory()415 private static boolean isShapeValid(@NonNull int[] shape) { in isShapeValid() method in TensorBuffer