Home | History | Annotate | Download | only in kernels

Lines Matching defs:product

53     // Compute the output shape.  Determine product of specified
56 int64 product = 1;
60 OP_REQUIRES_OK(context, ValidateSizes<int32>(sizes, &product,
64 OP_REQUIRES_OK(context, ValidateSizes<int64>(sizes, &product,
75 context, product > 0,
79 const int64 missing = input.NumElements() / product;
81 context, product * missing == input.NumElements(),
85 product));
178 // Compute the output shape. Determine product of specified
181 int64 product = 1;
185 OP_REQUIRES_OK(context, ValidateSizes<int32>(sizes, &product,
189 OP_REQUIRES_OK(context, ValidateSizes<int64>(sizes, &product,
200 context, product > 0,
204 const int64 missing = nelems / product;
206 context, product * missing == nelems,
210 product));
322 Status ValidateSizes(const Tensor& sizes, int64* product, int* unknown_index,
324 *product = 1;
343 (*product) *= size;