TorchTensor<T>.alloc

Description

Signature

static TorchTensor<T> TorchTensor<T>.alloc(uint x);

static TorchTensor<T> TorchTensor<T>.alloc(
    uint x,
    uint y);

static TorchTensor<T> TorchTensor<T>.alloc(
    uint x,
    uint y,
    uint z);

static TorchTensor<T> TorchTensor<T>.alloc(
    uint x,
    uint y,
    uint z,
    uint w);

static TorchTensor<T> TorchTensor<T>.alloc(
    uint i0,
    uint i1,
    uint i2,
    uint i3,
    uint i4);

Parameters

x : uint

y : uint

z : uint

w : uint

i0 : uint

i1 : uint

i2 : uint

i3 : uint

i4 : uint