(shape []int64)
| 275 | } |
| 276 | |
| 277 | func numElements(shape []int64) int64 { |
| 278 | n := int64(1) |
| 279 | for _, d := range shape { |
| 280 | n *= d |
| 281 | } |
| 282 | return n |
| 283 | } |
| 284 | |
| 285 | // byteSizeOfEncodedStrings returns the size of the encoded strings in val. |
| 286 | // val MUST be a string, or a container (array/slice etc.) of strings. |
no test coverage detected