Internal common method used when allocating tensor memory
| 1321 | |
| 1322 | // Internal common method used when allocating tensor memory |
| 1323 | Status allocate_tensor(DataType type, const TensorShape& shape, |
| 1324 | Tensor* out_tensor, |
| 1325 | AllocatorAttributes allocator_attr) { |
| 1326 | return allocate_tensor(type, shape, out_tensor, allocator_attr, |
| 1327 | AllocationAttributes()); |
| 1328 | } |
| 1329 | |
| 1330 | Status allocate_tensor(DataType type, const TensorShape& shape, |
| 1331 | Tensor* out_tensor, AllocatorAttributes allocator_attr, |
nothing calls this directly
no test coverage detected