MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / allocate_temp

Method allocate_temp

tensorflow/core/framework/op_kernel.h:1045–1049  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1043 Tensor* out_temp, AllocatorAttributes allocator_attr,
1044 const AllocationAttributes& allocation_attr);
1045 Status allocate_temp(DataType type, const TensorShape& shape,
1046 Tensor* out_temp, AllocatorAttributes allocator_attr) {
1047 return allocate_temp(type, shape, out_temp, allocator_attr,
1048 AllocationAttributes());
1049 }
1050 Status allocate_temp(DataType type, const TensorShape& shape,
1051 Tensor* out_temp) {
1052 return allocate_temp(type, shape, out_temp, AllocatorAttributes());

Callers

nothing calls this directly

Calls 2

AllocatorAttributesClass · 0.85

Tested by

no test coverage detected