(x)
| 91 | |
| 92 | |
| 93 | def dims_array(x): |
| 94 | is_int64_dims = True |
| 95 | try: |
| 96 | trt.Dims([np.iinfo(np.int64).max]) |
| 97 | except TypeError: |
| 98 | is_int64_dims = False |
| 99 | return int64_array(x) if is_int64_dims else int32_array(x) |
| 100 | |
| 101 | |
| 102 | def bf16_array(x): |
no outgoing calls
no test coverage detected