asc.language.tile.tile.Tile
- class asc.language.tile.tile.Tile(handle: Value)
A tile is a multi-dimensional array of values in local memory (Unified Buffer, L1 Cache, etc.)
Each element is of
dtypetype and number of elements is defined byshapetuple.- __init__(handle: Value) None
This constructor is not called by user. Use
asc2.load()function to create a tile.
Methods
__init__(handle)This constructor is not called by user.
abs()Computes the element-wise absolute value of
input.broadcast_to(*shape)This function can also be called as a member function on
Tile, asx.broadcast_to(...)instead ofbroadcast_to(x, ...).ceil()Computes the element-wise ceil rounding of
input.cos()Computes the element-wise cosine of
input.cosh()Computes the element-wise hyperbolic cosine of
input.erf()Computes the element-wise error function of
input.exp()Computes the element-wise exponential of
input.exp2()Computes the element-wise exponential (base 2) of
input.expand_dims(*axis)This function can also be called as a member function on
Tile, asx.expand_dims(...)instead ofexpand_dims(x, ...).floor()Computes the element-wise floor rounding of
input.from_ir(handle)log()Computes the element-wise natural logarithm of
input.log2()Computes the element-wise logarithm (base 2) of
input.max(*dims[, keep_dims])Returns the maximum value of each row of the
inputtile in the given dimensionsdims.min(*dims[, keep_dims])Returns the minimum value of each row of the
inputtile in the given dimensionsdims.prod(*dims[, keep_dims])Returns the product of each row of the
inputtile in the given dimensionsdims.relu()Computes the element-wise ReLU value of
input.reshape(*shape)This function can also be called as a member function on
Tile, asx.reshape(...)instead ofreshape(x, ...).rsqrt()Computes the element-wise inverse square root of
input.sin()Computes the element-wise sine of
input.sinh()Computes the element-wise hyperbolic sine of
input.sqrt()Computes the element-wise square root of
input.squeeze(*axis)This function can also be called as a member function on
Tile, asx.squeeze(...)instead ofsqueeze(x, ...).sum(*dims[, keep_dims])Returns the sum of each row of the
inputtile in the given dimensionsdims.tan()Computes the element-wise tangent of
input.tanh()Computes the element-wise hyperbolic tangent of
input.to(dtype)to_ir()Attributes
dtypeTile element type
shapeTile shape