torch.memory.registerTensor function registerTensor(tensor: Tensor<any, any, any>): void Register a tensor with the current scope (if any). Called automatically when tensors are created. Parameters tensorTensor<any, any, any>