Struct Dispatch
pub struct Dispatch;Expand description
The main execution backend in Burn.
Dispatch acts as a global backend that can manage multiple underlying
backends (e.g., Cpu, Cuda, Wgpu, Metal, etc.).
It is responsible for:
- Dispatching tensor operations to the appropriate backend.
- Managing cross-backend tensor transfers.
Essentially, Dispatch is the single entry point for executing tensor operations
in a backend-agnostic way. It allows Burn to provide a unified, global backend
for users while still leveraging multiple specialized backends under the hood.
§Example
use burn::Dispatch;
use burn::DispatchDevice;
// Select the device to execute operations on
let device = DispatchDevice::Cube(cubecl::Device::Cuda(Default::default()));
// Create a tensor using the global backend
let t = Tensor::<Dispatch, 2>::zeros([128, 128], &device);Implementations§
§impl Dispatch
impl Dispatch
pub fn enumerate(type_id: DispatchDeviceId) -> Vec<DispatchDevice>
pub fn enumerate(type_id: DispatchDeviceId) -> Vec<DispatchDevice>
List all available devices of the specified type id.
Trait Implementations§
§impl ActivationOps<Dispatch> for Dispatch
impl ActivationOps<Dispatch> for Dispatch
§fn leaky_relu(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
negative_slope: Scalar,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn leaky_relu( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, negative_slope: Scalar, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn relu(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn relu( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn relu_backward(
output: <Dispatch as BackendTypes>::FloatTensorPrimitive,
grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn relu_backward( output: <Dispatch as BackendTypes>::FloatTensorPrimitive, grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn gelu(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn gelu( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn prelu(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
alpha: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn prelu( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, alpha: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn gelu_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn gelu_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn sigmoid(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn sigmoid( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn sigmoid_backward(
output: <Dispatch as BackendTypes>::FloatTensorPrimitive,
grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn sigmoid_backward( output: <Dispatch as BackendTypes>::FloatTensorPrimitive, grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn hard_sigmoid(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
alpha: Scalar,
beta: Scalar,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn hard_sigmoid( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, alpha: Scalar, beta: Scalar, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn softmax(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn softmax( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn log_softmax(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn log_softmax( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn softmin(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn softmin( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn log_sigmoid(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn log_sigmoid( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn log_sigmoid_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn log_sigmoid_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§impl AutodiffBackend for Dispatch
Available on crate feature autodiff only.
impl AutodiffBackend for Dispatch
autodiff only.§type InnerBackend = Dispatch
type InnerBackend = Dispatch
§fn backward(tensor: DispatchTensor) -> <Dispatch as AutodiffBackend>::Gradients
fn backward(tensor: DispatchTensor) -> <Dispatch as AutodiffBackend>::Gradients
§fn grad(
tensor: &DispatchTensor,
grads: &<Dispatch as AutodiffBackend>::Gradients,
) -> Option<DispatchTensor>
fn grad( tensor: &DispatchTensor, grads: &<Dispatch as AutodiffBackend>::Gradients, ) -> Option<DispatchTensor>
§fn grad_remove(
tensor: &DispatchTensor,
grads: &mut <Dispatch as AutodiffBackend>::Gradients,
) -> Option<DispatchTensor>
fn grad_remove( tensor: &DispatchTensor, grads: &mut <Dispatch as AutodiffBackend>::Gradients, ) -> Option<DispatchTensor>
§fn grad_replace(
tensor: &DispatchTensor,
grads: &mut <Dispatch as AutodiffBackend>::Gradients,
grad: DispatchTensor,
)
fn grad_replace( tensor: &DispatchTensor, grads: &mut <Dispatch as AutodiffBackend>::Gradients, grad: DispatchTensor, )
§fn inner(tensor: DispatchTensor) -> DispatchTensor
fn inner(tensor: DispatchTensor) -> DispatchTensor
§fn int_inner(tensor: DispatchTensor) -> DispatchTensor
fn int_inner(tensor: DispatchTensor) -> DispatchTensor
§fn bool_inner(tensor: DispatchTensor) -> DispatchTensor
fn bool_inner(tensor: DispatchTensor) -> DispatchTensor
§fn q_inner(tensor: DispatchTensor) -> DispatchTensor
fn q_inner(tensor: DispatchTensor) -> DispatchTensor
§fn from_inner(tensor: DispatchTensor) -> DispatchTensor
fn from_inner(tensor: DispatchTensor) -> DispatchTensor
§fn int_from_inner(tensor: DispatchTensor) -> DispatchTensor
fn int_from_inner(tensor: DispatchTensor) -> DispatchTensor
§fn bool_from_inner(tensor: DispatchTensor) -> DispatchTensor
fn bool_from_inner(tensor: DispatchTensor) -> DispatchTensor
§fn q_from_inner(tensor: DispatchTensor) -> DispatchTensor
fn q_from_inner(tensor: DispatchTensor) -> DispatchTensor
§fn set_distributed_params(
tensor: DispatchTensor,
param_id: ParamId,
) -> DispatchTensor
fn set_distributed_params( tensor: DispatchTensor, param_id: ParamId, ) -> DispatchTensor
§fn distributed_params(tensor: &DispatchTensor) -> Option<DistributedParams>
fn distributed_params(tensor: &DispatchTensor) -> Option<DistributedParams>
§fn is_distributed(tensor: &DispatchTensor) -> bool
fn is_distributed(tensor: &DispatchTensor) -> bool
§impl Backend for Dispatch
impl Backend for Dispatch
§fn seed(device: &<Dispatch as BackendTypes>::Device, seed: u64)
fn seed(device: &<Dispatch as BackendTypes>::Device, seed: u64)
§fn sync(
device: &<Dispatch as BackendTypes>::Device,
) -> Result<(), ExecutionError>
fn sync( device: &<Dispatch as BackendTypes>::Device, ) -> Result<(), ExecutionError>
§fn profile<O>(
device: &<Dispatch as BackendTypes>::Device,
options: ProfileOptions,
func: impl FnOnce() -> O + Send,
) -> Result<(O, ProfileDuration), ExecutionError>where
O: Send + 'static,
fn profile<O>(
device: &<Dispatch as BackendTypes>::Device,
options: ProfileOptions,
func: impl FnOnce() -> O + Send,
) -> Result<(O, ProfileDuration), ExecutionError>where
O: Send + 'static,
func puts on the
calling stream, in device time. Read more§fn profile_start(
device: &<Dispatch as BackendTypes>::Device,
) -> Result<Option<ProfileToken>, ExecutionError>
fn profile_start( device: &<Dispatch as BackendTypes>::Device, ) -> Result<Option<ProfileToken>, ExecutionError>
profile_end from the same stream. Read more§fn profile_end(
device: &<Dispatch as BackendTypes>::Device,
token: ProfileToken,
options: ProfileOptions,
) -> Result<ProfileDuration, ExecutionError>
fn profile_end( device: &<Dispatch as BackendTypes>::Device, token: ProfileToken, options: ProfileOptions, ) -> Result<ProfileDuration, ExecutionError>
token at the calling stream’s current position. Read more§fn profile_abandon(
device: &<Dispatch as BackendTypes>::Device,
token: ProfileToken,
)
fn profile_abandon( device: &<Dispatch as BackendTypes>::Device, token: ProfileToken, )
token opened without measuring it, for a caller that
will never reach profile_end. Read more§fn graph_prepare(
device: &<Dispatch as BackendTypes>::Device,
) -> Result<(), ExecutionError>
fn graph_prepare( device: &<Dispatch as BackendTypes>::Device, ) -> Result<(), ExecutionError>
device for an upcoming graph capture: route allocations into a
stable pool so every buffer allocated before graph_stop_capture can
be pinned. Call before the warmup run. No-op by default. Read more§fn graph_start_capture(
device: &<Dispatch as BackendTypes>::Device,
) -> Result<(), ExecutionError>
fn graph_start_capture( device: &<Dispatch as BackendTypes>::Device, ) -> Result<(), ExecutionError>
device into a graph (see
graph_stop_capture). Errors on backends
without hardware graph support, so callers fall back to re-running.§fn graph_stop_capture(
device: &<Dispatch as BackendTypes>::Device,
) -> Result<DispatchGraph, ExecutionError>
fn graph_stop_capture( device: &<Dispatch as BackendTypes>::Device, ) -> Result<DispatchGraph, ExecutionError>
graph_replay.§unsafe fn graph_replay(
device: &<Dispatch as BackendTypes>::Device,
graph: &DispatchGraph,
) -> Result<(), ExecutionError>
unsafe fn graph_replay( device: &<Dispatch as BackendTypes>::Device, graph: &DispatchGraph, ) -> Result<(), ExecutionError>
§fn dtype_usage(
device: &<Dispatch as BackendTypes>::Device,
dtype: DType,
) -> EnumSet<DTypeUsage>
fn dtype_usage( device: &<Dispatch as BackendTypes>::Device, dtype: DType, ) -> EnumSet<DTypeUsage>
§fn ad_enabled(device: &<Dispatch as BackendTypes>::Device) -> bool
fn ad_enabled(device: &<Dispatch as BackendTypes>::Device) -> bool
§fn device_count(type_id: u16) -> usize
fn device_count(type_id: u16) -> usize
device is a reference device used to determine the underlying backend that should be queried.
A CUDA device will return all devices available to CUDA, a Vulkan device will return all
devices available to Vulkan, etc.§fn memory_persistent_allocations<Output, Input, Func>(
device: &<Dispatch as BackendTypes>::Device,
input: Input,
func: Func,
) -> Output
fn memory_persistent_allocations<Output, Input, Func>( device: &<Dispatch as BackendTypes>::Device, input: Input, func: Func, ) -> Output
§fn memory_cleanup(device: &<Dispatch as BackendTypes>::Device)
fn memory_cleanup(device: &<Dispatch as BackendTypes>::Device)
§fn memory_pool_report(
device: &<Dispatch as BackendTypes>::Device,
) -> Option<Vec<SlicedPoolReport>>
fn memory_pool_report( device: &<Dispatch as BackendTypes>::Device, ) -> Option<Vec<SlicedPoolReport>>
None on a backend that does not report one, or whose
stream has failed. Read more§fn memory_pool_usage(
device: &<Dispatch as BackendTypes>::Device,
) -> Option<MemoryPoolUsage>
fn memory_pool_usage( device: &<Dispatch as BackendTypes>::Device, ) -> Option<MemoryPoolUsage>
None on a backend that does not
report one, or whose stream has failed.§fn staging<'a, Iter>(data: Iter, device: &<Dispatch as BackendTypes>::Device)where
Iter: Iterator<Item = &'a mut TensorData>,
fn staging<'a, Iter>(data: Iter, device: &<Dispatch as BackendTypes>::Device)where
Iter: Iterator<Item = &'a mut TensorData>,
§fn supports_dtype(
device: &<Dispatch as BackendTypes>::Device,
dtype: DType,
) -> bool
fn supports_dtype( device: &<Dispatch as BackendTypes>::Device, dtype: DType, ) -> bool
§fn flush(
device: &<Dispatch as BackendTypes>::Device,
) -> Result<(), ExecutionError>
fn flush( device: &<Dispatch as BackendTypes>::Device, ) -> Result<(), ExecutionError>
§impl BackendTypes for Dispatch
impl BackendTypes for Dispatch
§type Device = DispatchDevice
type Device = DispatchDevice
§type FloatTensorPrimitive = DispatchTensor
type FloatTensorPrimitive = DispatchTensor
§type IntTensorPrimitive = DispatchTensor
type IntTensorPrimitive = DispatchTensor
§type BoolTensorPrimitive = DispatchTensor
type BoolTensorPrimitive = DispatchTensor
§type QuantizedTensorPrimitive = DispatchTensor
type QuantizedTensorPrimitive = DispatchTensor
§type GraphPrimitive = DispatchGraph
type GraphPrimitive = DispatchGraph
Backend::graph_stop_capture and
consumed by Backend::graph_replay: a backend-owned recording of a
launch sequence that replays as a single dispatch. Read more§impl BoolTensorOps<Dispatch> for Dispatch
impl BoolTensorOps<Dispatch> for Dispatch
§fn bool_empty(
shape: Shape,
device: &DispatchDevice,
dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_empty( shape: Shape, device: &DispatchDevice, dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_zeros(
shape: Shape,
device: &DispatchDevice,
dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_zeros( shape: Shape, device: &DispatchDevice, dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_ones(
shape: Shape,
device: &DispatchDevice,
dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_ones( shape: Shape, device: &DispatchDevice, dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§async fn bool_into_data(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
) -> Result<TensorData, ExecutionError>
async fn bool_into_data( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, ) -> Result<TensorData, ExecutionError>
§fn bool_from_data(
data: TensorData,
device: &DispatchDevice,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_from_data( data: TensorData, device: &DispatchDevice, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_into_int(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
out_dtype: IntDType,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn bool_into_int( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, out_dtype: IntDType, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn bool_into_float(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
out_dtype: FloatDType,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn bool_into_float( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, out_dtype: FloatDType, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn bool_to_device(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
device: &DispatchDevice,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_to_device( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, device: &DispatchDevice, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_reshape(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
shape: Shape,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_reshape( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, shape: Shape, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_slice(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
slices: &[Slice],
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_slice( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, slices: &[Slice], ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_slice_assign(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
slices: &[Slice],
value: <Dispatch as BackendTypes>::BoolTensorPrimitive,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_slice_assign( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, slices: &[Slice], value: <Dispatch as BackendTypes>::BoolTensorPrimitive, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_mask_where(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
mask: <Dispatch as BackendTypes>::BoolTensorPrimitive,
value: <Dispatch as BackendTypes>::BoolTensorPrimitive,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_mask_where( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, mask: <Dispatch as BackendTypes>::BoolTensorPrimitive, value: <Dispatch as BackendTypes>::BoolTensorPrimitive, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_mask_fill(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
mask: <Dispatch as BackendTypes>::BoolTensorPrimitive,
value: Scalar,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_mask_fill( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, mask: <Dispatch as BackendTypes>::BoolTensorPrimitive, value: Scalar, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§async fn bool_mask_select(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
mask: <Dispatch as BackendTypes>::BoolTensorPrimitive,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
async fn bool_mask_select( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, mask: <Dispatch as BackendTypes>::BoolTensorPrimitive, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_gather(
dim: usize,
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
indices: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_gather( dim: usize, tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, indices: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_scatter_or(
dim: usize,
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
indices: <Dispatch as BackendTypes>::IntTensorPrimitive,
value: <Dispatch as BackendTypes>::BoolTensorPrimitive,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_scatter_or( dim: usize, tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, indices: <Dispatch as BackendTypes>::IntTensorPrimitive, value: <Dispatch as BackendTypes>::BoolTensorPrimitive, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_equal(
lhs: <Dispatch as BackendTypes>::BoolTensorPrimitive,
rhs: <Dispatch as BackendTypes>::BoolTensorPrimitive,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_equal( lhs: <Dispatch as BackendTypes>::BoolTensorPrimitive, rhs: <Dispatch as BackendTypes>::BoolTensorPrimitive, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_equal_elem(
lhs: <Dispatch as BackendTypes>::BoolTensorPrimitive,
rhs: Scalar,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_equal_elem( lhs: <Dispatch as BackendTypes>::BoolTensorPrimitive, rhs: Scalar, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_not(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_not( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_and(
lhs: <Dispatch as BackendTypes>::BoolTensorPrimitive,
rhs: <Dispatch as BackendTypes>::BoolTensorPrimitive,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_and( lhs: <Dispatch as BackendTypes>::BoolTensorPrimitive, rhs: <Dispatch as BackendTypes>::BoolTensorPrimitive, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
&&) operation on two boolean tensors. Read more§fn bool_or(
lhs: <Dispatch as BackendTypes>::BoolTensorPrimitive,
rhs: <Dispatch as BackendTypes>::BoolTensorPrimitive,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_or( lhs: <Dispatch as BackendTypes>::BoolTensorPrimitive, rhs: <Dispatch as BackendTypes>::BoolTensorPrimitive, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
||) operation on two boolean tensors. Read more§fn bool_swap_dims(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
dim1: usize,
dim2: usize,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_swap_dims( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, dim1: usize, dim2: usize, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_permute(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
axes: &[usize],
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_permute( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, axes: &[usize], ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_flip(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
axes: &[usize],
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_flip( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, axes: &[usize], ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_expand(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
shape: Shape,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_expand( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, shape: Shape, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
tensor to the given shape.§fn bool_unfold(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
dim: usize,
size: usize,
step: usize,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_unfold( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, dim: usize, size: usize, step: usize, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_select(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
dim: usize,
indices: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_select( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, dim: usize, indices: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_select_or(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
dim: usize,
indices: <Dispatch as BackendTypes>::IntTensorPrimitive,
value: <Dispatch as BackendTypes>::BoolTensorPrimitive,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_select_or( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, dim: usize, indices: <Dispatch as BackendTypes>::IntTensorPrimitive, value: <Dispatch as BackendTypes>::BoolTensorPrimitive, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_repeat_dim(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
dim: usize,
times: usize,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_repeat_dim( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, dim: usize, times: usize, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_cat(
tensors: Vec<<Dispatch as BackendTypes>::BoolTensorPrimitive>,
dim: usize,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_cat( tensors: Vec<<Dispatch as BackendTypes>::BoolTensorPrimitive>, dim: usize, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_not_equal(
lhs: <Dispatch as BackendTypes>::BoolTensorPrimitive,
rhs: <Dispatch as BackendTypes>::BoolTensorPrimitive,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_not_equal( lhs: <Dispatch as BackendTypes>::BoolTensorPrimitive, rhs: <Dispatch as BackendTypes>::BoolTensorPrimitive, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_not_equal_elem(
lhs: <Dispatch as BackendTypes>::BoolTensorPrimitive,
rhs: Scalar,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_not_equal_elem( lhs: <Dispatch as BackendTypes>::BoolTensorPrimitive, rhs: Scalar, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_xor(
lhs: <Dispatch as BackendTypes>::BoolTensorPrimitive,
rhs: <Dispatch as BackendTypes>::BoolTensorPrimitive,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_xor( lhs: <Dispatch as BackendTypes>::BoolTensorPrimitive, rhs: <Dispatch as BackendTypes>::BoolTensorPrimitive, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_transpose(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_transpose( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_any(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_any( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
tensor evaluates to True. Read more§fn bool_any_dim(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_any_dim( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn bool_all(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_all( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
tensor evaluate to True. Read more§fn bool_all_dim(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_all_dim( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§async fn bool_argwhere(
tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive,
out_dtype: IntDType,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
async fn bool_argwhere( tensor: <Dispatch as BackendTypes>::BoolTensorPrimitive, out_dtype: IntDType, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§impl BoolVisionOps for Dispatch
impl BoolVisionOps for Dispatch
§fn connected_components(
img: <Dispatch as BackendTypes>::BoolTensorPrimitive,
connectivity: Connectivity,
out_dtype: IntDType,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn connected_components( img: <Dispatch as BackendTypes>::BoolTensorPrimitive, connectivity: Connectivity, out_dtype: IntDType, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
Computes the connected components labeled image of boolean image with 4 or 8 way connectivity - returns a tensor of the component label of each pixel.
img- The boolean image tensor in the format [batches, height, width]
§fn connected_components_with_stats(
img: <Dispatch as BackendTypes>::BoolTensorPrimitive,
connectivity: Connectivity,
opts: ConnectedStatsOptions,
out_dtype: IntDType,
) -> (<Dispatch as BackendTypes>::IntTensorPrimitive, ConnectedStatsPrimitive<Dispatch>)
fn connected_components_with_stats( img: <Dispatch as BackendTypes>::BoolTensorPrimitive, connectivity: Connectivity, opts: ConnectedStatsOptions, out_dtype: IntDType, ) -> (<Dispatch as BackendTypes>::IntTensorPrimitive, ConnectedStatsPrimitive<Dispatch>)
Computes the connected components labeled image of boolean image with 4 or 8 way connectivity and collects statistics on each component - returns a tensor of the component label of each pixel, along with stats collected for each component.
img- The boolean image tensor in the format [batches, height, width]
§fn bool_erode(
input: <Dispatch as BackendTypes>::BoolTensorPrimitive,
kernel: <Dispatch as BackendTypes>::BoolTensorPrimitive,
opts: MorphOptions,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_erode( input: <Dispatch as BackendTypes>::BoolTensorPrimitive, kernel: <Dispatch as BackendTypes>::BoolTensorPrimitive, opts: MorphOptions, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
Erodes an input tensor with the specified kernel.
§fn bool_dilate(
input: <Dispatch as BackendTypes>::BoolTensorPrimitive,
kernel: <Dispatch as BackendTypes>::BoolTensorPrimitive,
opts: MorphOptions,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn bool_dilate( input: <Dispatch as BackendTypes>::BoolTensorPrimitive, kernel: <Dispatch as BackendTypes>::BoolTensorPrimitive, opts: MorphOptions, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
Dilates an input tensor with the specified kernel.
§impl DistributedOps<Dispatch> for Dispatch
impl DistributedOps<Dispatch> for Dispatch
§fn start_communication_server(
devices: &[DispatchDevice],
config: DistributedConfig,
)
fn start_communication_server( devices: &[DispatchDevice], config: DistributedConfig, )
§fn close_communication_server(device: &DispatchDevice)
fn close_communication_server(device: &DispatchDevice)
§fn register_sync_parameters(
device: &DispatchDevice,
sharded_param_ids: Vec<DistributedParams>,
)
fn register_sync_parameters( device: &DispatchDevice, sharded_param_ids: Vec<DistributedParams>, )
§fn submit_sync_collective(device: &DispatchDevice)
fn submit_sync_collective(device: &DispatchDevice)
§fn submit_gradient_sync(
_tensor: TensorRef<Dispatch>,
_distributed_params: DistributedParams,
)
fn submit_gradient_sync( _tensor: TensorRef<Dispatch>, _distributed_params: DistributedParams, )
§fn all_reduce(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
op: ReduceOperation,
device_ids: Vec<DeviceId>,
) -> CollectiveTensor<Dispatch>
fn all_reduce( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, op: ReduceOperation, device_ids: Vec<DeviceId>, ) -> CollectiveTensor<Dispatch>
§fn sync_collective(device: &DispatchDevice)
fn sync_collective(device: &DispatchDevice)
§unsafe fn comm_device(_tensor: &TensorRef<Dispatch>) -> DispatchDevice
unsafe fn comm_device(_tensor: &TensorRef<Dispatch>) -> DispatchDevice
§unsafe fn float_from_ref(
_tensor: &TensorRef<Dispatch>,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
unsafe fn float_from_ref( _tensor: &TensorRef<Dispatch>, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§impl FloatTensorOps<Dispatch> for Dispatch
impl FloatTensorOps<Dispatch> for Dispatch
§fn float_pad(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
padding: &[(usize, usize)],
mode: PadMode,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_pad( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, padding: &[(usize, usize)], mode: PadMode, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
(before, after) pair per dimension.§fn float_from_data(
data: TensorData,
device: &DispatchDevice,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_from_data( data: TensorData, device: &DispatchDevice, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_random(
shape: Shape,
distribution: Distribution,
device: &DispatchDevice,
dtype: FloatDType,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_random( shape: Shape, distribution: Distribution, device: &DispatchDevice, dtype: FloatDType, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§async fn float_into_data(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> Result<TensorData, ExecutionError>
async fn float_into_data( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> Result<TensorData, ExecutionError>
§fn float_to_device(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
device: &DispatchDevice,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_to_device( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, device: &DispatchDevice, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_into_int(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dtype: IntDType,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn float_into_int( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dtype: IntDType, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn float_empty(
shape: Shape,
device: &DispatchDevice,
dtype: FloatDType,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_empty( shape: Shape, device: &DispatchDevice, dtype: FloatDType, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_add(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_add( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_add_scalar(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_add_scalar( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_sub(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_sub( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_sub_scalar(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_sub_scalar( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_mul(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_mul( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_mul_scalar(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_mul_scalar( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_div(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_div( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_div_scalar(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_div_scalar( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_remainder(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_remainder( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_remainder_scalar(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_remainder_scalar( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_matmul(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_matmul( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_cross(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_cross( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_recip(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_recip( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_swap_dims(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim1: usize,
dim2: usize,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_swap_dims( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim1: usize, dim2: usize, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_permute(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
axes: &[usize],
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_permute( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, axes: &[usize], ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_flip(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
axes: &[usize],
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_flip( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, axes: &[usize], ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_reshape(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
shape: Shape,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_reshape( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, shape: Shape, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_gather(
dim: usize,
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
indices: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_gather( dim: usize, tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, indices: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_scatter(
dim: usize,
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
indices: <Dispatch as BackendTypes>::IntTensorPrimitive,
value: <Dispatch as BackendTypes>::FloatTensorPrimitive,
update: IndexingUpdateOp,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_scatter( dim: usize, tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, indices: <Dispatch as BackendTypes>::IntTensorPrimitive, value: <Dispatch as BackendTypes>::FloatTensorPrimitive, update: IndexingUpdateOp, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_scatter_nd(
data: <Dispatch as BackendTypes>::FloatTensorPrimitive,
indices: <Dispatch as BackendTypes>::IntTensorPrimitive,
values: <Dispatch as BackendTypes>::FloatTensorPrimitive,
reduction: IndexingUpdateOp,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_scatter_nd( data: <Dispatch as BackendTypes>::FloatTensorPrimitive, indices: <Dispatch as BackendTypes>::IntTensorPrimitive, values: <Dispatch as BackendTypes>::FloatTensorPrimitive, reduction: IndexingUpdateOp, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_gather_nd(
data: <Dispatch as BackendTypes>::FloatTensorPrimitive,
indices: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_gather_nd( data: <Dispatch as BackendTypes>::FloatTensorPrimitive, indices: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_select(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
indices: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_select( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, indices: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_select_assign(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
indices: <Dispatch as BackendTypes>::IntTensorPrimitive,
value: <Dispatch as BackendTypes>::FloatTensorPrimitive,
update: IndexingUpdateOp,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_select_assign( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, indices: <Dispatch as BackendTypes>::IntTensorPrimitive, value: <Dispatch as BackendTypes>::FloatTensorPrimitive, update: IndexingUpdateOp, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_slice(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
slices: &[Slice],
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_slice( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, slices: &[Slice], ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_slice_assign(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
slices: &[Slice],
value: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_slice_assign( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, slices: &[Slice], value: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_mask_where(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
mask: <Dispatch as BackendTypes>::BoolTensorPrimitive,
value: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_mask_where( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, mask: <Dispatch as BackendTypes>::BoolTensorPrimitive, value: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_mask_fill(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
mask: <Dispatch as BackendTypes>::BoolTensorPrimitive,
value: Scalar,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_mask_fill( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, mask: <Dispatch as BackendTypes>::BoolTensorPrimitive, value: Scalar, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§async fn float_mask_select(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
mask: <Dispatch as BackendTypes>::BoolTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
async fn float_mask_select( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, mask: <Dispatch as BackendTypes>::BoolTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_equal(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn float_equal( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn float_equal_elem(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn float_equal_elem( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn float_greater(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn float_greater( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn float_greater_elem(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn float_greater_elem( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn float_greater_equal(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn float_greater_equal( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn float_greater_equal_elem(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn float_greater_equal_elem( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn float_lower(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn float_lower( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn float_lower_elem(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn float_lower_elem( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn float_lower_equal(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn float_lower_equal( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn float_lower_equal_elem(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn float_lower_equal_elem( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn float_sum(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_sum( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_sum_dim(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_sum_dim( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_sum_dims(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dims: &[usize],
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_sum_dims( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dims: &[usize], ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_mean_dim(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_mean_dim( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_cumsum(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_cumsum( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_cumprod(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_cumprod( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_cummin(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_cummin( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_cummax(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_cummax( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_cast(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dtype: FloatDType,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_cast( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dtype: FloatDType, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_exp(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_exp( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_log(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_log( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_log1p(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_log1p( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_powf(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_powf( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_powf_scalar_impl(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
value: Scalar,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_powf_scalar_impl( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, value: Scalar, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
value. Read more§fn float_sqrt(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_sqrt( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_abs(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_abs( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_cos(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_cos( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_sin(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_sin( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_tan(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_tan( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_cosh(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_cosh( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_sinh(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_sinh( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_tanh(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_tanh( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_acos(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_acos( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_acosh(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_acosh( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_asin(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_asin( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_asinh(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_asinh( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_atan(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_atan( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_atanh(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_atanh( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_atan2(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_atan2( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_round(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_round( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_floor(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_floor( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_ceil(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_ceil( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_trunc(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_trunc( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_erf(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_erf( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_argmax(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
out_dtype: IntDType,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn float_argmax( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, out_dtype: IntDType, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn float_argtopk(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
k: usize,
out_dtype: IntDType,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn float_argtopk( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, k: usize, out_dtype: IntDType, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn float_topk(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
k: usize,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_topk( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, k: usize, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_topk_with_indices(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
k: usize,
out_dtype: IntDType,
) -> (<Dispatch as BackendTypes>::FloatTensorPrimitive, <Dispatch as BackendTypes>::IntTensorPrimitive)
fn float_topk_with_indices( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, k: usize, out_dtype: IntDType, ) -> (<Dispatch as BackendTypes>::FloatTensorPrimitive, <Dispatch as BackendTypes>::IntTensorPrimitive)
§fn float_argmin(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
out_dtype: IntDType,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn float_argmin( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, out_dtype: IntDType, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn float_expand(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
shape: Shape,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_expand( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, shape: Shape, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
tensor to the given shape.§fn float_unfold(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
size: usize,
step: usize,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_unfold( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, size: usize, step: usize, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_detach(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_detach( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_set_require_grad(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
require_grad: bool,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_set_require_grad( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, require_grad: bool, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
require_grad flag of a tensor.§fn float_is_require_grad(
tensor: &<Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> bool
fn float_is_require_grad( tensor: &<Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> bool
require_grad flag of a tensor.§fn float_zeros(
shape: Shape,
device: &DispatchDevice,
dtype: FloatDType,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_zeros( shape: Shape, device: &DispatchDevice, dtype: FloatDType, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_ones(
shape: Shape,
device: &DispatchDevice,
dtype: FloatDType,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_ones( shape: Shape, device: &DispatchDevice, dtype: FloatDType, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_full(
shape: Shape,
fill_value: Scalar,
device: &DispatchDevice,
dtype: FloatDType,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_full( shape: Shape, fill_value: Scalar, device: &DispatchDevice, dtype: FloatDType, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_repeat_dim(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
times: usize,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_repeat_dim( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, times: usize, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_clamp_min(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
min: Scalar,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_clamp_min( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, min: Scalar, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_clamp_max(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
max: Scalar,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_clamp_max( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, max: Scalar, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_clamp(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
min: Scalar,
max: Scalar,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_clamp( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, min: Scalar, max: Scalar, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_neg(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_neg( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_transpose(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_transpose( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_not_equal(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn float_not_equal( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn float_not_equal_elem(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn float_not_equal_elem( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn float_prod(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_prod( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_prod_dim(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_prod_dim( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_mean(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_mean( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_powi(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_powi( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_powi_scalar_impl(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_powi_scalar_impl( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_powf_scalar(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
value: Scalar,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_powf_scalar( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, value: Scalar, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
value. Read more§fn float_cat(
tensors: Vec<<Dispatch as BackendTypes>::FloatTensorPrimitive>,
dim: usize,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_cat( tensors: Vec<<Dispatch as BackendTypes>::FloatTensorPrimitive>, dim: usize, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_max(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_max( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_max_dim(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_max_dim( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_max_dim_with_indices(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
indices_dtype: IntDType,
) -> (<Dispatch as BackendTypes>::FloatTensorPrimitive, <Dispatch as BackendTypes>::IntTensorPrimitive)
fn float_max_dim_with_indices( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, indices_dtype: IntDType, ) -> (<Dispatch as BackendTypes>::FloatTensorPrimitive, <Dispatch as BackendTypes>::IntTensorPrimitive)
§fn float_min(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_min( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_min_dim(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_min_dim( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_min_dim_with_indices(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
indices_dtype: IntDType,
) -> (<Dispatch as BackendTypes>::FloatTensorPrimitive, <Dispatch as BackendTypes>::IntTensorPrimitive)
fn float_min_dim_with_indices( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, indices_dtype: IntDType, ) -> (<Dispatch as BackendTypes>::FloatTensorPrimitive, <Dispatch as BackendTypes>::IntTensorPrimitive)
§fn float_max_abs(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_max_abs( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_max_abs_dim(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_max_abs_dim( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_any(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn float_any( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
tensor evaluates to True. Read more§fn float_any_dim(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn float_any_dim( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn float_all(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn float_all( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
tensor evaluate to True. Read more§fn float_all_dim(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn float_all_dim( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn float_sign(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_sign( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
tensor. Read more§fn float_sort(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
descending: bool,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_sort( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, descending: bool, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
tensor by value in along a given dimension. Read more§fn float_sort_with_indices(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
descending: bool,
indices_dtype: IntDType,
) -> (<Dispatch as BackendTypes>::FloatTensorPrimitive, <Dispatch as BackendTypes>::IntTensorPrimitive)
fn float_sort_with_indices( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, descending: bool, indices_dtype: IntDType, ) -> (<Dispatch as BackendTypes>::FloatTensorPrimitive, <Dispatch as BackendTypes>::IntTensorPrimitive)
tensor by value in along a given dimension. Read more§fn float_argsort(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
descending: bool,
out_dtype: IntDType,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn float_argsort( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, descending: bool, out_dtype: IntDType, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
tensor by value along a given dimension. Read more§fn float_grid_sample_2d(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
grid: <Dispatch as BackendTypes>::FloatTensorPrimitive,
options: GridSampleOptions,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_grid_sample_2d( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, grid: <Dispatch as BackendTypes>::FloatTensorPrimitive, options: GridSampleOptions, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_is_nan(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn float_is_nan( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn float_is_inf(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn float_is_inf( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn float_hypot(
lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_hypot( lhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, rhs: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn float_powi_scalar(
lhs: <B as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn float_powi_scalar( lhs: <B as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, ) -> <B as BackendTypes>::FloatTensorPrimitive
§impl FloatVisionOps for Dispatch
impl FloatVisionOps for Dispatch
§fn float_erode(
input: <Dispatch as BackendTypes>::FloatTensorPrimitive,
kernel: <Dispatch as BackendTypes>::BoolTensorPrimitive,
opts: MorphOptions,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_erode( input: <Dispatch as BackendTypes>::FloatTensorPrimitive, kernel: <Dispatch as BackendTypes>::BoolTensorPrimitive, opts: MorphOptions, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
Erodes an input tensor with the specified kernel.
§fn float_dilate(
input: <Dispatch as BackendTypes>::FloatTensorPrimitive,
kernel: <Dispatch as BackendTypes>::BoolTensorPrimitive,
opts: MorphOptions,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn float_dilate( input: <Dispatch as BackendTypes>::FloatTensorPrimitive, kernel: <Dispatch as BackendTypes>::BoolTensorPrimitive, opts: MorphOptions, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
Dilates an input tensor with the specified kernel.
§fn nms(
boxes: <Dispatch as BackendTypes>::FloatTensorPrimitive,
scores: <Dispatch as BackendTypes>::FloatTensorPrimitive,
options: NmsOptions,
out_dtype: IntDType,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn nms( boxes: <Dispatch as BackendTypes>::FloatTensorPrimitive, scores: <Dispatch as BackendTypes>::FloatTensorPrimitive, options: NmsOptions, out_dtype: IntDType, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
Perform Non-Maximum Suppression on bounding boxes.
Returns indices of kept boxes after suppressing overlapping detections. Boxes are processed in descending score order; a box suppresses all lower-scoring boxes with IoU > threshold.
§Arguments
boxes- Bounding boxes as [N, 4] tensor in (x1, y1, x2, y2) formatscores- Confidence scores as [N] tensoroptions- NMS options (IoU threshold, score threshold, max boxes)
§Returns
Indices of kept boxes as [M] tensor where M <= N
§impl IntTensorOps<Dispatch> for Dispatch
impl IntTensorOps<Dispatch> for Dispatch
§fn int_pad(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
padding: &[(usize, usize)],
mode: PadMode,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_pad( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, padding: &[(usize, usize)], mode: PadMode, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
(before, after) pair per dimension.§fn int_empty(
shape: Shape,
device: &DispatchDevice,
dtype: IntDType,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_empty( shape: Shape, device: &DispatchDevice, dtype: IntDType, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§async fn int_into_data(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> Result<TensorData, ExecutionError>
async fn int_into_data( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> Result<TensorData, ExecutionError>
§fn int_from_data(
data: TensorData,
device: &DispatchDevice,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_from_data( data: TensorData, device: &DispatchDevice, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_to_device(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
device: &DispatchDevice,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_to_device( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, device: &DispatchDevice, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_reshape(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
shape: Shape,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_reshape( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, shape: Shape, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_slice(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
slices: &[Slice],
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_slice( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, slices: &[Slice], ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_slice_assign(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
slices: &[Slice],
value: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_slice_assign( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, slices: &[Slice], value: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_into_float(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
out_dtype: FloatDType,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn int_into_float( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, out_dtype: FloatDType, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn int_mask_where(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
mask: <Dispatch as BackendTypes>::BoolTensorPrimitive,
value: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_mask_where( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, mask: <Dispatch as BackendTypes>::BoolTensorPrimitive, value: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_mask_fill(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
mask: <Dispatch as BackendTypes>::BoolTensorPrimitive,
value: Scalar,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_mask_fill( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, mask: <Dispatch as BackendTypes>::BoolTensorPrimitive, value: Scalar, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§async fn int_mask_select(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
mask: <Dispatch as BackendTypes>::BoolTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
async fn int_mask_select( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, mask: <Dispatch as BackendTypes>::BoolTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_gather(
dim: usize,
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
indices: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_gather( dim: usize, tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, indices: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_scatter(
dim: usize,
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
indices: <Dispatch as BackendTypes>::IntTensorPrimitive,
value: <Dispatch as BackendTypes>::IntTensorPrimitive,
update: IndexingUpdateOp,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_scatter( dim: usize, tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, indices: <Dispatch as BackendTypes>::IntTensorPrimitive, value: <Dispatch as BackendTypes>::IntTensorPrimitive, update: IndexingUpdateOp, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_scatter_nd(
data: <Dispatch as BackendTypes>::IntTensorPrimitive,
indices: <Dispatch as BackendTypes>::IntTensorPrimitive,
values: <Dispatch as BackendTypes>::IntTensorPrimitive,
reduction: IndexingUpdateOp,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_scatter_nd( data: <Dispatch as BackendTypes>::IntTensorPrimitive, indices: <Dispatch as BackendTypes>::IntTensorPrimitive, values: <Dispatch as BackendTypes>::IntTensorPrimitive, reduction: IndexingUpdateOp, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_gather_nd(
data: <Dispatch as BackendTypes>::IntTensorPrimitive,
indices: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_gather_nd( data: <Dispatch as BackendTypes>::IntTensorPrimitive, indices: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_select(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
indices: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_select( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, indices: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_select_assign(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
indices: <Dispatch as BackendTypes>::IntTensorPrimitive,
value: <Dispatch as BackendTypes>::IntTensorPrimitive,
update: IndexingUpdateOp,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_select_assign( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, indices: <Dispatch as BackendTypes>::IntTensorPrimitive, value: <Dispatch as BackendTypes>::IntTensorPrimitive, update: IndexingUpdateOp, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_equal(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn int_equal( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: <Dispatch as BackendTypes>::IntTensorPrimitive, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn int_equal_elem(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn int_equal_elem( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn int_greater(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn int_greater( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: <Dispatch as BackendTypes>::IntTensorPrimitive, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn int_greater_elem(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn int_greater_elem( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn int_greater_equal(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn int_greater_equal( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: <Dispatch as BackendTypes>::IntTensorPrimitive, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn int_greater_equal_elem(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn int_greater_equal_elem( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn int_lower(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn int_lower( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: <Dispatch as BackendTypes>::IntTensorPrimitive, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn int_lower_elem(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn int_lower_elem( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn int_lower_equal(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn int_lower_equal( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: <Dispatch as BackendTypes>::IntTensorPrimitive, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn int_lower_equal_elem(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn int_lower_equal_elem( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn int_add(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_add( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_add_scalar(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_add_scalar( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_sub(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_sub( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_sub_scalar(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_sub_scalar( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_mul(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_mul( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_mul_scalar(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_mul_scalar( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_div(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_div( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_div_scalar(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_div_scalar( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_remainder(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_remainder( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_remainder_scalar(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_remainder_scalar( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_matmul(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_matmul( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_sum(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_sum( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_sum_dim(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_sum_dim( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_prod(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_prod( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_prod_dim(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_prod_dim( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_mean_dim(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_mean_dim( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_cumsum(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_cumsum( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_cumprod(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_cumprod( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_cummin(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_cummin( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_cummax(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_cummax( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_argmax(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_argmax( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_argtopk(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
k: usize,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_argtopk( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, k: usize, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_topk(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
k: usize,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_topk( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, k: usize, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_topk_with_indices(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
k: usize,
) -> (<Dispatch as BackendTypes>::IntTensorPrimitive, <Dispatch as BackendTypes>::IntTensorPrimitive)
fn int_topk_with_indices( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, k: usize, ) -> (<Dispatch as BackendTypes>::IntTensorPrimitive, <Dispatch as BackendTypes>::IntTensorPrimitive)
§fn int_argmin(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_argmin( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_abs(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_abs( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_swap_dims(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim1: usize,
dim2: usize,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_swap_dims( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim1: usize, dim2: usize, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_permute(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
axes: &[usize],
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_permute( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, axes: &[usize], ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_flip(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
axes: &[usize],
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_flip( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, axes: &[usize], ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_random(
shape: Shape,
distribution: Distribution,
device: &DispatchDevice,
dtype: IntDType,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_random( shape: Shape, distribution: Distribution, device: &DispatchDevice, dtype: IntDType, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_expand(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
shape: Shape,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_expand( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, shape: Shape, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
tensor to the given shape.§fn bitwise_and(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn bitwise_and( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn bitwise_and_scalar(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn bitwise_and_scalar( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn bitwise_or(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn bitwise_or( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn bitwise_or_scalar(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn bitwise_or_scalar( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn bitwise_xor(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn bitwise_xor( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn bitwise_xor_scalar(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn bitwise_xor_scalar( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn bitwise_not(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn bitwise_not( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn bitwise_left_shift(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn bitwise_left_shift( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn bitwise_left_shift_scalar(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn bitwise_left_shift_scalar( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn bitwise_right_shift(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn bitwise_right_shift( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn bitwise_right_shift_scalar(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn bitwise_right_shift_scalar( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_cast(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dtype: IntDType,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_cast( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dtype: IntDType, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_unfold(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
size: usize,
step: usize,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_unfold( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, size: usize, step: usize, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_repeat_dim(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
times: usize,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_repeat_dim( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, times: usize, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_cat(
tensors: Vec<<Dispatch as BackendTypes>::IntTensorPrimitive>,
dim: usize,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_cat( tensors: Vec<<Dispatch as BackendTypes>::IntTensorPrimitive>, dim: usize, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_not_equal(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn int_not_equal( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: <Dispatch as BackendTypes>::IntTensorPrimitive, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn int_not_equal_elem(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn int_not_equal_elem( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn int_powi(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_powi( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_powi_scalar_impl(
lhs: <Dispatch as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_powi_scalar_impl( lhs: <Dispatch as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_clamp_min(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
min: Scalar,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_clamp_min( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, min: Scalar, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_clamp_max(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
max: Scalar,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_clamp_max( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, max: Scalar, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_clamp(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
min: Scalar,
max: Scalar,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_clamp( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, min: Scalar, max: Scalar, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_neg(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_neg( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_zeros(
shape: Shape,
device: &DispatchDevice,
dtype: IntDType,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_zeros( shape: Shape, device: &DispatchDevice, dtype: IntDType, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_ones(
shape: Shape,
device: &DispatchDevice,
dtype: IntDType,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_ones( shape: Shape, device: &DispatchDevice, dtype: IntDType, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_full(
shape: Shape,
fill_value: Scalar,
device: &DispatchDevice,
dtype: IntDType,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_full( shape: Shape, fill_value: Scalar, device: &DispatchDevice, dtype: IntDType, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_mean(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_mean( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_max(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_max( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_max_dim(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_max_dim( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_max_dim_with_indices(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> (<Dispatch as BackendTypes>::IntTensorPrimitive, <Dispatch as BackendTypes>::IntTensorPrimitive)
fn int_max_dim_with_indices( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> (<Dispatch as BackendTypes>::IntTensorPrimitive, <Dispatch as BackendTypes>::IntTensorPrimitive)
§fn int_max_abs(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_max_abs( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_max_abs_dim(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_max_abs_dim( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_min(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_min( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_min_dim(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_min_dim( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_min_dim_with_indices(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> (<Dispatch as BackendTypes>::IntTensorPrimitive, <Dispatch as BackendTypes>::IntTensorPrimitive)
fn int_min_dim_with_indices( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> (<Dispatch as BackendTypes>::IntTensorPrimitive, <Dispatch as BackendTypes>::IntTensorPrimitive)
§fn int_transpose(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_transpose( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_arange_step(
range: Range<i64>,
step: usize,
device: &DispatchDevice,
dtype: IntDType,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_arange_step( range: Range<i64>, step: usize, device: &DispatchDevice, dtype: IntDType, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_arange(
range: Range<i64>,
device: &DispatchDevice,
dtype: IntDType,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_arange( range: Range<i64>, device: &DispatchDevice, dtype: IntDType, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
§fn int_any(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn int_any( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
tensor evaluates to True. Read more§fn int_any_dim(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn int_any_dim( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn int_all(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn int_all( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
tensor evaluate to True. Read more§fn int_all_dim(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
out_dtype: BoolStore,
) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
fn int_all_dim( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, out_dtype: BoolStore, ) -> <Dispatch as BackendTypes>::BoolTensorPrimitive
§fn int_sign(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_sign( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
tensor. Read more§fn int_sort(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
descending: bool,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_sort( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, descending: bool, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
tensor by value along a given dimension. Read more§fn int_sort_with_indices(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
descending: bool,
) -> (<Dispatch as BackendTypes>::IntTensorPrimitive, <Dispatch as BackendTypes>::IntTensorPrimitive)
fn int_sort_with_indices( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, descending: bool, ) -> (<Dispatch as BackendTypes>::IntTensorPrimitive, <Dispatch as BackendTypes>::IntTensorPrimitive)
tensor by value along a given dimension. Read more§fn int_argsort(
tensor: <Dispatch as BackendTypes>::IntTensorPrimitive,
dim: usize,
descending: bool,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_argsort( tensor: <Dispatch as BackendTypes>::IntTensorPrimitive, dim: usize, descending: bool, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
tensor by value
along a given dimension. Read more§fn int_square(
tensor: <B as BackendTypes>::IntTensorPrimitive,
) -> <B as BackendTypes>::IntTensorPrimitive
fn int_square( tensor: <B as BackendTypes>::IntTensorPrimitive, ) -> <B as BackendTypes>::IntTensorPrimitive
§fn int_powi_scalar(
lhs: <B as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <B as BackendTypes>::IntTensorPrimitive
fn int_powi_scalar( lhs: <B as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <B as BackendTypes>::IntTensorPrimitive
§impl IntVisionOps for Dispatch
impl IntVisionOps for Dispatch
§fn int_erode(
input: <Dispatch as BackendTypes>::IntTensorPrimitive,
kernel: <Dispatch as BackendTypes>::BoolTensorPrimitive,
opts: MorphOptions,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_erode( input: <Dispatch as BackendTypes>::IntTensorPrimitive, kernel: <Dispatch as BackendTypes>::BoolTensorPrimitive, opts: MorphOptions, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
Erodes an input tensor with the specified kernel.
§fn int_dilate(
input: <Dispatch as BackendTypes>::IntTensorPrimitive,
kernel: <Dispatch as BackendTypes>::BoolTensorPrimitive,
opts: MorphOptions,
) -> <Dispatch as BackendTypes>::IntTensorPrimitive
fn int_dilate( input: <Dispatch as BackendTypes>::IntTensorPrimitive, kernel: <Dispatch as BackendTypes>::BoolTensorPrimitive, opts: MorphOptions, ) -> <Dispatch as BackendTypes>::IntTensorPrimitive
Dilates an input tensor with the specified kernel.
§impl LinalgOps for Dispatch
impl LinalgOps for Dispatch
§fn svd(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
sweeps: usize,
swap: bool,
) -> (<Dispatch as BackendTypes>::FloatTensorPrimitive, <Dispatch as BackendTypes>::FloatTensorPrimitive, <Dispatch as BackendTypes>::FloatTensorPrimitive)
fn svd( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, sweeps: usize, swap: bool, ) -> (<Dispatch as BackendTypes>::FloatTensorPrimitive, <Dispatch as BackendTypes>::FloatTensorPrimitive, <Dispatch as BackendTypes>::FloatTensorPrimitive)
Computes a reduced singular value decomposition.
§impl ModuleOps<Dispatch> for Dispatch
impl ModuleOps<Dispatch> for Dispatch
§fn batch_norm(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
gamma: <Dispatch as BackendTypes>::FloatTensorPrimitive,
beta: <Dispatch as BackendTypes>::FloatTensorPrimitive,
mean: <Dispatch as BackendTypes>::FloatTensorPrimitive,
variance: <Dispatch as BackendTypes>::FloatTensorPrimitive,
epsilon: f64,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn batch_norm( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, gamma: <Dispatch as BackendTypes>::FloatTensorPrimitive, beta: <Dispatch as BackendTypes>::FloatTensorPrimitive, mean: <Dispatch as BackendTypes>::FloatTensorPrimitive, variance: <Dispatch as BackendTypes>::FloatTensorPrimitive, epsilon: f64, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn batch_norm_train(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
gamma: <Dispatch as BackendTypes>::FloatTensorPrimitive,
beta: <Dispatch as BackendTypes>::FloatTensorPrimitive,
epsilon: f64,
) -> BatchNormTrain<Dispatch>
fn batch_norm_train( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, gamma: <Dispatch as BackendTypes>::FloatTensorPrimitive, beta: <Dispatch as BackendTypes>::FloatTensorPrimitive, epsilon: f64, ) -> BatchNormTrain<Dispatch>
§fn batch_norm_train_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
gamma: <Dispatch as BackendTypes>::FloatTensorPrimitive,
mean: <Dispatch as BackendTypes>::FloatTensorPrimitive,
variance: <Dispatch as BackendTypes>::FloatTensorPrimitive,
epsilon: f64,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> BatchNormTrainBackward<Dispatch>
fn batch_norm_train_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, gamma: <Dispatch as BackendTypes>::FloatTensorPrimitive, mean: <Dispatch as BackendTypes>::FloatTensorPrimitive, variance: <Dispatch as BackendTypes>::FloatTensorPrimitive, epsilon: f64, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> BatchNormTrainBackward<Dispatch>
gamma and beta, given the gradient of its
output. mean and variance are the statistics it returned.§fn conv2d(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
weight: <Dispatch as BackendTypes>::FloatTensorPrimitive,
bias: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>,
options: ConvOptions<2>,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv2d( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, weight: <Dispatch as BackendTypes>::FloatTensorPrimitive, bias: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>, options: ConvOptions<2>, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn deform_conv2d(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
offset: <Dispatch as BackendTypes>::FloatTensorPrimitive,
weight: <Dispatch as BackendTypes>::FloatTensorPrimitive,
mask: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>,
bias: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>,
options: DeformConvOptions<2>,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn deform_conv2d( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, offset: <Dispatch as BackendTypes>::FloatTensorPrimitive, weight: <Dispatch as BackendTypes>::FloatTensorPrimitive, mask: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>, bias: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>, options: DeformConvOptions<2>, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn deform_conv2d_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
offset: <Dispatch as BackendTypes>::FloatTensorPrimitive,
weight: <Dispatch as BackendTypes>::FloatTensorPrimitive,
mask: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>,
bias: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
options: DeformConvOptions<2>,
) -> DeformConv2dBackward<Dispatch>
fn deform_conv2d_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, offset: <Dispatch as BackendTypes>::FloatTensorPrimitive, weight: <Dispatch as BackendTypes>::FloatTensorPrimitive, mask: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>, bias: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, options: DeformConvOptions<2>, ) -> DeformConv2dBackward<Dispatch>
§fn conv3d(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
weight: <Dispatch as BackendTypes>::FloatTensorPrimitive,
bias: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>,
options: ConvOptions<3>,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv3d( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, weight: <Dispatch as BackendTypes>::FloatTensorPrimitive, bias: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>, options: ConvOptions<3>, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn conv_transpose2d(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
weight: <Dispatch as BackendTypes>::FloatTensorPrimitive,
bias: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>,
options: ConvTransposeOptions<2>,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv_transpose2d( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, weight: <Dispatch as BackendTypes>::FloatTensorPrimitive, bias: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>, options: ConvTransposeOptions<2>, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn conv_transpose3d(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
weight: <Dispatch as BackendTypes>::FloatTensorPrimitive,
bias: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>,
options: ConvTransposeOptions<3>,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv_transpose3d( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, weight: <Dispatch as BackendTypes>::FloatTensorPrimitive, bias: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>, options: ConvTransposeOptions<3>, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn avg_pool2d(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
kernel_size: [usize; 2],
stride: [usize; 2],
padding: [usize; 2],
count_include_pad: bool,
ceil_mode: bool,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn avg_pool2d( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, kernel_size: [usize; 2], stride: [usize; 2], padding: [usize; 2], count_include_pad: bool, ceil_mode: bool, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn avg_pool2d_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
kernel_size: [usize; 2],
stride: [usize; 2],
padding: [usize; 2],
count_include_pad: bool,
ceil_mode: bool,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn avg_pool2d_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, kernel_size: [usize; 2], stride: [usize; 2], padding: [usize; 2], count_include_pad: bool, ceil_mode: bool, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn adaptive_avg_pool2d(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_size: [usize; 2],
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn adaptive_avg_pool2d( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_size: [usize; 2], ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn adaptive_avg_pool2d_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn adaptive_avg_pool2d_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn adaptive_avg_pool3d(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_size: [usize; 3],
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn adaptive_avg_pool3d( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_size: [usize; 3], ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn adaptive_avg_pool3d_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn adaptive_avg_pool3d_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn max_pool2d(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
kernel_size: [usize; 2],
stride: [usize; 2],
padding: [usize; 2],
dilation: [usize; 2],
ceil_mode: bool,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn max_pool2d( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, kernel_size: [usize; 2], stride: [usize; 2], padding: [usize; 2], dilation: [usize; 2], ceil_mode: bool, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn max_pool2d_with_indices(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
kernel_size: [usize; 2],
stride: [usize; 2],
padding: [usize; 2],
dilation: [usize; 2],
ceil_mode: bool,
indices_dtype: IntDType,
) -> MaxPool2dWithIndices<Dispatch>
fn max_pool2d_with_indices( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, kernel_size: [usize; 2], stride: [usize; 2], padding: [usize; 2], dilation: [usize; 2], ceil_mode: bool, indices_dtype: IntDType, ) -> MaxPool2dWithIndices<Dispatch>
§fn max_pool2d_with_indices_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
kernel_size: [usize; 2],
stride: [usize; 2],
padding: [usize; 2],
dilation: [usize; 2],
ceil_mode: bool,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
indices: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> MaxPool2dBackward<Dispatch>
fn max_pool2d_with_indices_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, kernel_size: [usize; 2], stride: [usize; 2], padding: [usize; 2], dilation: [usize; 2], ceil_mode: bool, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, indices: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> MaxPool2dBackward<Dispatch>
§fn interpolate(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_size: [usize; 2],
options: InterpolateOptions,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn interpolate( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_size: [usize; 2], options: InterpolateOptions, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn interpolate_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_size: [usize; 2],
options: InterpolateOptions,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn interpolate_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_size: [usize; 2], options: InterpolateOptions, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn embedding(
weights: <Dispatch as BackendTypes>::FloatTensorPrimitive,
indices: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn embedding( weights: <Dispatch as BackendTypes>::FloatTensorPrimitive, indices: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn embedding_backward(
weights: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
indices: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn embedding_backward( weights: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, indices: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn conv1d(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
weight: <Dispatch as BackendTypes>::FloatTensorPrimitive,
bias: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>,
options: ConvOptions<1>,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv1d( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, weight: <Dispatch as BackendTypes>::FloatTensorPrimitive, bias: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>, options: ConvOptions<1>, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn conv1d_x_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
weight: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
options: ConvOptions<1>,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv1d_x_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, weight: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, options: ConvOptions<1>, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
x.§fn conv1d_weight_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
weight: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
options: ConvOptions<1>,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv1d_weight_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, weight: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, options: ConvOptions<1>, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
weight.§fn conv1d_bias_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
bias: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv1d_bias_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, bias: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
bias.§fn conv2d_x_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
weight: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
options: ConvOptions<2>,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv2d_x_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, weight: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, options: ConvOptions<2>, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
x.§fn conv2d_weight_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
weight: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
options: ConvOptions<2>,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv2d_weight_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, weight: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, options: ConvOptions<2>, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
weight.§fn conv2d_bias_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
bias: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv2d_bias_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, bias: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
bias.§fn conv3d_x_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
weight: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
options: ConvOptions<3>,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv3d_x_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, weight: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, options: ConvOptions<3>, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
x.§fn conv3d_weight_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
weight: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
options: ConvOptions<3>,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv3d_weight_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, weight: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, options: ConvOptions<3>, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
weight.§fn conv3d_bias_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
bias: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv3d_bias_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, bias: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
bias.§fn conv_transpose1d(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
weight: <Dispatch as BackendTypes>::FloatTensorPrimitive,
bias: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>,
options: ConvTransposeOptions<1>,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv_transpose1d( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, weight: <Dispatch as BackendTypes>::FloatTensorPrimitive, bias: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>, options: ConvTransposeOptions<1>, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn conv_transpose1d_x_backward(
weight: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
options: ConvTransposeOptions<1>,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv_transpose1d_x_backward( weight: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, options: ConvTransposeOptions<1>, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
x.§fn conv_transpose1d_weight_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
weight: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
options: ConvTransposeOptions<1>,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv_transpose1d_weight_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, weight: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, options: ConvTransposeOptions<1>, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
weight.§fn conv_transpose1d_bias_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
bias: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv_transpose1d_bias_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, bias: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
bias.§fn conv_transpose2d_x_backward(
weight: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
options: ConvTransposeOptions<2>,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv_transpose2d_x_backward( weight: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, options: ConvTransposeOptions<2>, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
x.§fn conv_transpose2d_weight_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
weight: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
options: ConvTransposeOptions<2>,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv_transpose2d_weight_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, weight: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, options: ConvTransposeOptions<2>, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
weight.§fn conv_transpose2d_bias_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
bias: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv_transpose2d_bias_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, bias: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
bias.§fn conv_transpose3d_x_backward(
weight: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
options: ConvTransposeOptions<3>,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv_transpose3d_x_backward( weight: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, options: ConvTransposeOptions<3>, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
x.§fn conv_transpose3d_weight_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
weight: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
options: ConvTransposeOptions<3>,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv_transpose3d_weight_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, weight: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, options: ConvTransposeOptions<3>, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
weight.§fn conv_transpose3d_bias_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
bias: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn conv_transpose3d_bias_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, bias: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
bias.§fn unfold4d(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
kernel_size: [usize; 2],
options: UnfoldOptions,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn unfold4d( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, kernel_size: [usize; 2], options: UnfoldOptions, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn avg_pool1d(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
kernel_size: usize,
stride: usize,
padding: usize,
count_include_pad: bool,
ceil_mode: bool,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn avg_pool1d( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, kernel_size: usize, stride: usize, padding: usize, count_include_pad: bool, ceil_mode: bool, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn avg_pool1d_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
kernel_size: usize,
stride: usize,
padding: usize,
count_include_pad: bool,
ceil_mode: bool,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn avg_pool1d_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, kernel_size: usize, stride: usize, padding: usize, count_include_pad: bool, ceil_mode: bool, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn adaptive_avg_pool1d(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
output_size: usize,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn adaptive_avg_pool1d( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, output_size: usize, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn adaptive_avg_pool1d_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn adaptive_avg_pool1d_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn max_pool1d(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
kernel_size: usize,
stride: usize,
padding: usize,
dilation: usize,
ceil_mode: bool,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn max_pool1d( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, kernel_size: usize, stride: usize, padding: usize, dilation: usize, ceil_mode: bool, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn max_pool1d_with_indices(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
kernel_size: usize,
stride: usize,
padding: usize,
dilation: usize,
ceil_mode: bool,
indices_dtype: IntDType,
) -> MaxPool1dWithIndices<Dispatch>
fn max_pool1d_with_indices( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, kernel_size: usize, stride: usize, padding: usize, dilation: usize, ceil_mode: bool, indices_dtype: IntDType, ) -> MaxPool1dWithIndices<Dispatch>
§fn max_pool1d_with_indices_backward(
x: <Dispatch as BackendTypes>::FloatTensorPrimitive,
kernel_size: usize,
stride: usize,
padding: usize,
dilation: usize,
ceil_mode: bool,
output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive,
indices: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> MaxPool1dBackward<Dispatch>
fn max_pool1d_with_indices_backward( x: <Dispatch as BackendTypes>::FloatTensorPrimitive, kernel_size: usize, stride: usize, padding: usize, dilation: usize, ceil_mode: bool, output_grad: <Dispatch as BackendTypes>::FloatTensorPrimitive, indices: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> MaxPool1dBackward<Dispatch>
§fn attention(
query: <Dispatch as BackendTypes>::FloatTensorPrimitive,
key: <Dispatch as BackendTypes>::FloatTensorPrimitive,
value: <Dispatch as BackendTypes>::FloatTensorPrimitive,
mask: Option<<Dispatch as BackendTypes>::BoolTensorPrimitive>,
attn_bias: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>,
options: AttentionModuleOptions,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn attention( query: <Dispatch as BackendTypes>::FloatTensorPrimitive, key: <Dispatch as BackendTypes>::FloatTensorPrimitive, value: <Dispatch as BackendTypes>::FloatTensorPrimitive, mask: Option<<Dispatch as BackendTypes>::BoolTensorPrimitive>, attn_bias: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>, options: AttentionModuleOptions, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn layer_norm(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
gamma: <Dispatch as BackendTypes>::FloatTensorPrimitive,
beta: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>,
epsilon: f64,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn layer_norm( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, gamma: <Dispatch as BackendTypes>::FloatTensorPrimitive, beta: Option<<Dispatch as BackendTypes>::FloatTensorPrimitive>, epsilon: f64, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn has_ctc_loss_backward() -> bool
fn has_ctc_loss_backward() -> bool
§fn ctc_loss(
log_probs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
targets: <Dispatch as BackendTypes>::IntTensorPrimitive,
input_lengths: <Dispatch as BackendTypes>::IntTensorPrimitive,
target_lengths: <Dispatch as BackendTypes>::IntTensorPrimitive,
blank: usize,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn ctc_loss( log_probs: <Dispatch as BackendTypes>::FloatTensorPrimitive, targets: <Dispatch as BackendTypes>::IntTensorPrimitive, input_lengths: <Dispatch as BackendTypes>::IntTensorPrimitive, target_lengths: <Dispatch as BackendTypes>::IntTensorPrimitive, blank: usize, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn ctc_loss_backward(
log_probs: <Dispatch as BackendTypes>::FloatTensorPrimitive,
targets: <Dispatch as BackendTypes>::IntTensorPrimitive,
input_lengths: <Dispatch as BackendTypes>::IntTensorPrimitive,
target_lengths: <Dispatch as BackendTypes>::IntTensorPrimitive,
grad_loss: <Dispatch as BackendTypes>::FloatTensorPrimitive,
blank: usize,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn ctc_loss_backward( log_probs: <Dispatch as BackendTypes>::FloatTensorPrimitive, targets: <Dispatch as BackendTypes>::IntTensorPrimitive, input_lengths: <Dispatch as BackendTypes>::IntTensorPrimitive, target_lengths: <Dispatch as BackendTypes>::IntTensorPrimitive, grad_loss: <Dispatch as BackendTypes>::FloatTensorPrimitive, blank: usize, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn linear(
x: <B as BackendTypes>::FloatTensorPrimitive,
weight: <B as BackendTypes>::FloatTensorPrimitive,
bias: Option<<B as BackendTypes>::FloatTensorPrimitive>,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn linear( x: <B as BackendTypes>::FloatTensorPrimitive, weight: <B as BackendTypes>::FloatTensorPrimitive, bias: Option<<B as BackendTypes>::FloatTensorPrimitive>, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn linear_x_backward(
weight: <B as BackendTypes>::FloatTensorPrimitive,
output_grad: <B as BackendTypes>::FloatTensorPrimitive,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn linear_x_backward( weight: <B as BackendTypes>::FloatTensorPrimitive, output_grad: <B as BackendTypes>::FloatTensorPrimitive, ) -> <B as BackendTypes>::FloatTensorPrimitive
x.§fn linear_weight_backward(
x: <B as BackendTypes>::FloatTensorPrimitive,
output_grad: <B as BackendTypes>::FloatTensorPrimitive,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn linear_weight_backward( x: <B as BackendTypes>::FloatTensorPrimitive, output_grad: <B as BackendTypes>::FloatTensorPrimitive, ) -> <B as BackendTypes>::FloatTensorPrimitive
weight.§fn linear_bias_backward(
output_grad: <B as BackendTypes>::FloatTensorPrimitive,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn linear_bias_backward( output_grad: <B as BackendTypes>::FloatTensorPrimitive, ) -> <B as BackendTypes>::FloatTensorPrimitive
bias.§fn fold4d(
x: <B as BackendTypes>::FloatTensorPrimitive,
output_size: [usize; 2],
kernel_size: [usize; 2],
options: UnfoldOptions,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn fold4d( x: <B as BackendTypes>::FloatTensorPrimitive, output_size: [usize; 2], kernel_size: [usize; 2], options: UnfoldOptions, ) -> <B as BackendTypes>::FloatTensorPrimitive
§impl QTensorOps<Dispatch> for Dispatch
impl QTensorOps<Dispatch> for Dispatch
§fn q_from_data(
data: TensorData,
device: &DispatchDevice,
) -> <Dispatch as BackendTypes>::QuantizedTensorPrimitive
fn q_from_data( data: TensorData, device: &DispatchDevice, ) -> <Dispatch as BackendTypes>::QuantizedTensorPrimitive
§fn quantize(
tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive,
scheme: &QuantScheme,
qparams: QuantizationParametersPrimitive<Dispatch>,
) -> <Dispatch as BackendTypes>::QuantizedTensorPrimitive
fn quantize( tensor: <Dispatch as BackendTypes>::FloatTensorPrimitive, scheme: &QuantScheme, qparams: QuantizationParametersPrimitive<Dispatch>, ) -> <Dispatch as BackendTypes>::QuantizedTensorPrimitive
§fn dequantize(
tensor: <Dispatch as BackendTypes>::QuantizedTensorPrimitive,
dtype: FloatDType,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn dequantize( tensor: <Dispatch as BackendTypes>::QuantizedTensorPrimitive, dtype: FloatDType, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
§fn q_to_device(
tensor: <Dispatch as BackendTypes>::QuantizedTensorPrimitive,
device: &DispatchDevice,
) -> <Dispatch as BackendTypes>::QuantizedTensorPrimitive
fn q_to_device( tensor: <Dispatch as BackendTypes>::QuantizedTensorPrimitive, device: &DispatchDevice, ) -> <Dispatch as BackendTypes>::QuantizedTensorPrimitive
§fn q_reshape(
tensor: <Dispatch as BackendTypes>::QuantizedTensorPrimitive,
shape: Shape,
) -> <Dispatch as BackendTypes>::QuantizedTensorPrimitive
fn q_reshape( tensor: <Dispatch as BackendTypes>::QuantizedTensorPrimitive, shape: Shape, ) -> <Dispatch as BackendTypes>::QuantizedTensorPrimitive
§async fn q_into_data(
tensor: <Dispatch as BackendTypes>::QuantizedTensorPrimitive,
) -> Result<TensorData, ExecutionError>
async fn q_into_data( tensor: <Dispatch as BackendTypes>::QuantizedTensorPrimitive, ) -> Result<TensorData, ExecutionError>
§fn q_expand(
tensor: <Dispatch as BackendTypes>::QuantizedTensorPrimitive,
shape: Shape,
) -> <Dispatch as BackendTypes>::QuantizedTensorPrimitive
fn q_expand( tensor: <Dispatch as BackendTypes>::QuantizedTensorPrimitive, shape: Shape, ) -> <Dispatch as BackendTypes>::QuantizedTensorPrimitive
tensor to the given shape.§fn q_swap_dims(
tensor: <Dispatch as BackendTypes>::QuantizedTensorPrimitive,
dim1: usize,
dim2: usize,
) -> <Dispatch as BackendTypes>::QuantizedTensorPrimitive
fn q_swap_dims( tensor: <Dispatch as BackendTypes>::QuantizedTensorPrimitive, dim1: usize, dim2: usize, ) -> <Dispatch as BackendTypes>::QuantizedTensorPrimitive
§fn q_permute(
tensor: <Dispatch as BackendTypes>::QuantizedTensorPrimitive,
axes: &[usize],
) -> <Dispatch as BackendTypes>::QuantizedTensorPrimitive
fn q_permute( tensor: <Dispatch as BackendTypes>::QuantizedTensorPrimitive, axes: &[usize], ) -> <Dispatch as BackendTypes>::QuantizedTensorPrimitive
§fn q_flip(
tensor: <Dispatch as BackendTypes>::QuantizedTensorPrimitive,
axes: &[usize],
) -> <Dispatch as BackendTypes>::QuantizedTensorPrimitive
fn q_flip( tensor: <Dispatch as BackendTypes>::QuantizedTensorPrimitive, axes: &[usize], ) -> <Dispatch as BackendTypes>::QuantizedTensorPrimitive
§fn q_select(
tensor: <Dispatch as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
indices: <Dispatch as BackendTypes>::IntTensorPrimitive,
) -> <Dispatch as BackendTypes>::QuantizedTensorPrimitive
fn q_select( tensor: <Dispatch as BackendTypes>::QuantizedTensorPrimitive, dim: usize, indices: <Dispatch as BackendTypes>::IntTensorPrimitive, ) -> <Dispatch as BackendTypes>::QuantizedTensorPrimitive
§fn q_slice(
tensor: <Dispatch as BackendTypes>::QuantizedTensorPrimitive,
slices: &[Slice],
) -> <Dispatch as BackendTypes>::QuantizedTensorPrimitive
fn q_slice( tensor: <Dispatch as BackendTypes>::QuantizedTensorPrimitive, slices: &[Slice], ) -> <Dispatch as BackendTypes>::QuantizedTensorPrimitive
§fn q_matmul(
lhs: TensorPrimitive<Dispatch>,
rhs: TensorPrimitive<Dispatch>,
) -> TensorPrimitive<Dispatch>
fn q_matmul( lhs: TensorPrimitive<Dispatch>, rhs: TensorPrimitive<Dispatch>, ) -> TensorPrimitive<Dispatch>
§fn quantize_dynamic(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
scheme: &QuantScheme,
) -> <B as BackendTypes>::QuantizedTensorPrimitive
fn quantize_dynamic( tensor: <B as BackendTypes>::FloatTensorPrimitive, scheme: &QuantScheme, ) -> <B as BackendTypes>::QuantizedTensorPrimitive
§fn q_detach(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> <B as BackendTypes>::QuantizedTensorPrimitive
fn q_detach( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> <B as BackendTypes>::QuantizedTensorPrimitive
§fn q_set_require_grad(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
_require_grad: bool,
) -> <B as BackendTypes>::QuantizedTensorPrimitive
fn q_set_require_grad( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, _require_grad: bool, ) -> <B as BackendTypes>::QuantizedTensorPrimitive
require_grad flag of a tensor.§fn q_is_require_grad(
_tensor: &<B as BackendTypes>::QuantizedTensorPrimitive,
) -> bool
fn q_is_require_grad( _tensor: &<B as BackendTypes>::QuantizedTensorPrimitive, ) -> bool
require_grad flag of a tensor.§fn q_transpose(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> <B as BackendTypes>::QuantizedTensorPrimitive
fn q_transpose( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> <B as BackendTypes>::QuantizedTensorPrimitive
§fn q_gather(
dim: usize,
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
indices: <B as BackendTypes>::IntTensorPrimitive,
) -> <B as BackendTypes>::QuantizedTensorPrimitive
fn q_gather( dim: usize, tensor: <B as BackendTypes>::QuantizedTensorPrimitive, indices: <B as BackendTypes>::IntTensorPrimitive, ) -> <B as BackendTypes>::QuantizedTensorPrimitive
§fn q_repeat_dim(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
times: usize,
) -> <B as BackendTypes>::QuantizedTensorPrimitive
fn q_repeat_dim( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, times: usize, ) -> <B as BackendTypes>::QuantizedTensorPrimitive
§fn q_add(
lhs: <B as BackendTypes>::QuantizedTensorPrimitive,
rhs: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> TensorPrimitive<B>
fn q_add( lhs: <B as BackendTypes>::QuantizedTensorPrimitive, rhs: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> TensorPrimitive<B>
§fn q_add_scalar(
lhs: <B as BackendTypes>::QuantizedTensorPrimitive,
rhs: Scalar,
) -> TensorPrimitive<B>
fn q_add_scalar( lhs: <B as BackendTypes>::QuantizedTensorPrimitive, rhs: Scalar, ) -> TensorPrimitive<B>
§fn q_clamp_min(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
min: Scalar,
) -> TensorPrimitive<B>
fn q_clamp_min( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, min: Scalar, ) -> TensorPrimitive<B>
§fn q_clamp_max(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
max: Scalar,
) -> TensorPrimitive<B>
fn q_clamp_max( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, max: Scalar, ) -> TensorPrimitive<B>
§fn q_clamp(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
min: Scalar,
max: Scalar,
) -> TensorPrimitive<B>
fn q_clamp( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, min: Scalar, max: Scalar, ) -> TensorPrimitive<B>
§fn q_sub(
lhs: <B as BackendTypes>::QuantizedTensorPrimitive,
rhs: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> TensorPrimitive<B>
fn q_sub( lhs: <B as BackendTypes>::QuantizedTensorPrimitive, rhs: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> TensorPrimitive<B>
§fn q_sub_scalar(
lhs: <B as BackendTypes>::QuantizedTensorPrimitive,
rhs: Scalar,
) -> TensorPrimitive<B>
fn q_sub_scalar( lhs: <B as BackendTypes>::QuantizedTensorPrimitive, rhs: Scalar, ) -> TensorPrimitive<B>
§fn q_mul(
lhs: <B as BackendTypes>::QuantizedTensorPrimitive,
rhs: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> TensorPrimitive<B>
fn q_mul( lhs: <B as BackendTypes>::QuantizedTensorPrimitive, rhs: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> TensorPrimitive<B>
§fn q_mul_scalar(
lhs: <B as BackendTypes>::QuantizedTensorPrimitive,
rhs: Scalar,
) -> TensorPrimitive<B>
fn q_mul_scalar( lhs: <B as BackendTypes>::QuantizedTensorPrimitive, rhs: Scalar, ) -> TensorPrimitive<B>
§fn q_div(
lhs: <B as BackendTypes>::QuantizedTensorPrimitive,
rhs: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> TensorPrimitive<B>
fn q_div( lhs: <B as BackendTypes>::QuantizedTensorPrimitive, rhs: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> TensorPrimitive<B>
§fn q_div_scalar(
lhs: <B as BackendTypes>::QuantizedTensorPrimitive,
rhs: Scalar,
) -> TensorPrimitive<B>
fn q_div_scalar( lhs: <B as BackendTypes>::QuantizedTensorPrimitive, rhs: Scalar, ) -> TensorPrimitive<B>
§fn q_neg(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> TensorPrimitive<B>
fn q_neg( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> TensorPrimitive<B>
§fn q_recip(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> TensorPrimitive<B>
fn q_recip( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> TensorPrimitive<B>
§fn q_sum(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> TensorPrimitive<B>
fn q_sum( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> TensorPrimitive<B>
§fn q_sum_dim(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
) -> TensorPrimitive<B>
fn q_sum_dim( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, ) -> TensorPrimitive<B>
§fn q_prod(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> TensorPrimitive<B>
fn q_prod( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> TensorPrimitive<B>
§fn q_prod_dim(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
) -> TensorPrimitive<B>
fn q_prod_dim( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, ) -> TensorPrimitive<B>
§fn q_mean(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> TensorPrimitive<B>
fn q_mean( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> TensorPrimitive<B>
§fn q_mean_dim(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
) -> TensorPrimitive<B>
fn q_mean_dim( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, ) -> TensorPrimitive<B>
§fn q_cumsum(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
) -> TensorPrimitive<B>
fn q_cumsum( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, ) -> TensorPrimitive<B>
§fn q_cumprod(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
) -> TensorPrimitive<B>
fn q_cumprod( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, ) -> TensorPrimitive<B>
§fn q_cummin(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
) -> TensorPrimitive<B>
fn q_cummin( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, ) -> TensorPrimitive<B>
§fn q_cummax(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
) -> TensorPrimitive<B>
fn q_cummax( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, ) -> TensorPrimitive<B>
§fn q_exp(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> TensorPrimitive<B>
fn q_exp( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> TensorPrimitive<B>
§fn q_log(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> TensorPrimitive<B>
fn q_log( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> TensorPrimitive<B>
§fn q_log1p(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> TensorPrimitive<B>
fn q_log1p( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> TensorPrimitive<B>
§fn q_powf(
lhs: <B as BackendTypes>::QuantizedTensorPrimitive,
rhs: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> TensorPrimitive<B>
fn q_powf( lhs: <B as BackendTypes>::QuantizedTensorPrimitive, rhs: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> TensorPrimitive<B>
§fn q_powi(
lhs: <B as BackendTypes>::QuantizedTensorPrimitive,
rhs: <B as BackendTypes>::IntTensorPrimitive,
) -> TensorPrimitive<B>
fn q_powi( lhs: <B as BackendTypes>::QuantizedTensorPrimitive, rhs: <B as BackendTypes>::IntTensorPrimitive, ) -> TensorPrimitive<B>
§fn q_powi_scalar(
lhs: <B as BackendTypes>::QuantizedTensorPrimitive,
rhs: Scalar,
) -> TensorPrimitive<B>
fn q_powi_scalar( lhs: <B as BackendTypes>::QuantizedTensorPrimitive, rhs: Scalar, ) -> TensorPrimitive<B>
§fn q_powf_scalar(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
value: Scalar,
) -> TensorPrimitive<B>
fn q_powf_scalar( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, value: Scalar, ) -> TensorPrimitive<B>
§fn q_sqrt(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> TensorPrimitive<B>
fn q_sqrt( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> TensorPrimitive<B>
§fn q_abs(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> <B as BackendTypes>::QuantizedTensorPrimitive
fn q_abs( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> <B as BackendTypes>::QuantizedTensorPrimitive
§fn q_cos(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> TensorPrimitive<B>
fn q_cos( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> TensorPrimitive<B>
§fn q_sin(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> TensorPrimitive<B>
fn q_sin( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> TensorPrimitive<B>
§fn q_tan(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> TensorPrimitive<B>
fn q_tan( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> TensorPrimitive<B>
§fn q_cosh(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> TensorPrimitive<B>
fn q_cosh( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> TensorPrimitive<B>
§fn q_sinh(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> TensorPrimitive<B>
fn q_sinh( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> TensorPrimitive<B>
§fn q_tanh(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> TensorPrimitive<B>
fn q_tanh( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> TensorPrimitive<B>
§fn q_erf(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> TensorPrimitive<B>
fn q_erf( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> TensorPrimitive<B>
§fn q_cat(
tensors: Vec<<B as BackendTypes>::QuantizedTensorPrimitive>,
dim: usize,
) -> <B as BackendTypes>::QuantizedTensorPrimitive
fn q_cat( tensors: Vec<<B as BackendTypes>::QuantizedTensorPrimitive>, dim: usize, ) -> <B as BackendTypes>::QuantizedTensorPrimitive
§fn q_argmax(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
out_dtype: IntDType,
) -> <B as BackendTypes>::IntTensorPrimitive
fn q_argmax( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, out_dtype: IntDType, ) -> <B as BackendTypes>::IntTensorPrimitive
§fn q_argtopk(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
k: usize,
out_dtype: IntDType,
) -> <B as BackendTypes>::IntTensorPrimitive
fn q_argtopk( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, k: usize, out_dtype: IntDType, ) -> <B as BackendTypes>::IntTensorPrimitive
§fn q_topk(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
k: usize,
) -> <B as BackendTypes>::QuantizedTensorPrimitive
fn q_topk( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, k: usize, ) -> <B as BackendTypes>::QuantizedTensorPrimitive
§fn q_topk_with_indices(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
k: usize,
out_dtype: IntDType,
) -> (<B as BackendTypes>::QuantizedTensorPrimitive, <B as BackendTypes>::IntTensorPrimitive)
fn q_topk_with_indices( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, k: usize, out_dtype: IntDType, ) -> (<B as BackendTypes>::QuantizedTensorPrimitive, <B as BackendTypes>::IntTensorPrimitive)
§fn q_argmin(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
out_dtype: IntDType,
) -> <B as BackendTypes>::IntTensorPrimitive
fn q_argmin( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, out_dtype: IntDType, ) -> <B as BackendTypes>::IntTensorPrimitive
§fn q_max(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> <B as BackendTypes>::QuantizedTensorPrimitive
fn q_max( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> <B as BackendTypes>::QuantizedTensorPrimitive
§fn q_max_dim(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
) -> <B as BackendTypes>::QuantizedTensorPrimitive
fn q_max_dim( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, ) -> <B as BackendTypes>::QuantizedTensorPrimitive
§fn q_max_dim_with_indices(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
out_dtype: IntDType,
) -> (<B as BackendTypes>::QuantizedTensorPrimitive, <B as BackendTypes>::IntTensorPrimitive)
fn q_max_dim_with_indices( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, out_dtype: IntDType, ) -> (<B as BackendTypes>::QuantizedTensorPrimitive, <B as BackendTypes>::IntTensorPrimitive)
§fn q_min(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> <B as BackendTypes>::QuantizedTensorPrimitive
fn q_min( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> <B as BackendTypes>::QuantizedTensorPrimitive
§fn q_min_dim(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
) -> <B as BackendTypes>::QuantizedTensorPrimitive
fn q_min_dim( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, ) -> <B as BackendTypes>::QuantizedTensorPrimitive
§fn q_min_dim_with_indices(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
out_dtype: IntDType,
) -> (<B as BackendTypes>::QuantizedTensorPrimitive, <B as BackendTypes>::IntTensorPrimitive)
fn q_min_dim_with_indices( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, out_dtype: IntDType, ) -> (<B as BackendTypes>::QuantizedTensorPrimitive, <B as BackendTypes>::IntTensorPrimitive)
§fn q_max_abs(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
) -> <B as BackendTypes>::QuantizedTensorPrimitive
fn q_max_abs( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, ) -> <B as BackendTypes>::QuantizedTensorPrimitive
§fn q_max_abs_dim(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
) -> <B as BackendTypes>::QuantizedTensorPrimitive
fn q_max_abs_dim( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, ) -> <B as BackendTypes>::QuantizedTensorPrimitive
§fn q_any(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
out_dtype: BoolStore,
) -> <B as BackendTypes>::BoolTensorPrimitive
fn q_any( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, out_dtype: BoolStore, ) -> <B as BackendTypes>::BoolTensorPrimitive
tensor evaluates to True. Read more§fn q_any_dim(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
out_dtype: BoolStore,
) -> <B as BackendTypes>::BoolTensorPrimitive
fn q_any_dim( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, out_dtype: BoolStore, ) -> <B as BackendTypes>::BoolTensorPrimitive
§fn q_all(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
out_dtype: BoolStore,
) -> <B as BackendTypes>::BoolTensorPrimitive
fn q_all( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, out_dtype: BoolStore, ) -> <B as BackendTypes>::BoolTensorPrimitive
tensor evaluate to True. Read more§fn q_all_dim(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
out_dtype: BoolStore,
) -> <B as BackendTypes>::BoolTensorPrimitive
fn q_all_dim( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, out_dtype: BoolStore, ) -> <B as BackendTypes>::BoolTensorPrimitive
§fn q_sort(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
descending: bool,
) -> <B as BackendTypes>::QuantizedTensorPrimitive
fn q_sort( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, descending: bool, ) -> <B as BackendTypes>::QuantizedTensorPrimitive
tensor by value in along a given dimension. Read more§fn q_sort_with_indices(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
descending: bool,
out_dtype: IntDType,
) -> (<B as BackendTypes>::QuantizedTensorPrimitive, <B as BackendTypes>::IntTensorPrimitive)
fn q_sort_with_indices( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, descending: bool, out_dtype: IntDType, ) -> (<B as BackendTypes>::QuantizedTensorPrimitive, <B as BackendTypes>::IntTensorPrimitive)
tensor by value in along a given dimension. Read more§fn q_argsort(
tensor: <B as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
descending: bool,
out_dtype: IntDType,
) -> <B as BackendTypes>::IntTensorPrimitive
fn q_argsort( tensor: <B as BackendTypes>::QuantizedTensorPrimitive, dim: usize, descending: bool, out_dtype: IntDType, ) -> <B as BackendTypes>::IntTensorPrimitive
tensor by value along a given dimension. Read more§impl SignalOps for Dispatch
impl SignalOps for Dispatch
§fn rfft(
signal: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
n: Option<usize>,
) -> (<Dispatch as BackendTypes>::FloatTensorPrimitive, <Dispatch as BackendTypes>::FloatTensorPrimitive)
fn rfft( signal: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, n: Option<usize>, ) -> (<Dispatch as BackendTypes>::FloatTensorPrimitive, <Dispatch as BackendTypes>::FloatTensorPrimitive)
Real FFT along dim, truncating or padding to n when supplied.
Returns the real and imaginary components of the one-sided spectrum.
§fn irfft(
real: <Dispatch as BackendTypes>::FloatTensorPrimitive,
imag: <Dispatch as BackendTypes>::FloatTensorPrimitive,
dim: usize,
n: Option<usize>,
) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
fn irfft( real: <Dispatch as BackendTypes>::FloatTensorPrimitive, imag: <Dispatch as BackendTypes>::FloatTensorPrimitive, dim: usize, n: Option<usize>, ) -> <Dispatch as BackendTypes>::FloatTensorPrimitive
Inverse real FFT along dim, with optional output length n.
§impl TransactionOps<Dispatch> for Dispatch
impl TransactionOps<Dispatch> for Dispatch
§async fn tr_execute(
transaction: TransactionPrimitive<Dispatch>,
) -> Result<TransactionPrimitiveData, ExecutionError>
async fn tr_execute( transaction: TransactionPrimitive<Dispatch>, ) -> Result<TransactionPrimitiveData, ExecutionError>
impl VisionBackend for Dispatch
Auto Trait Implementations§
impl Freeze for Dispatch
impl RefUnwindSafe for Dispatch
impl Send for Dispatch
impl Sync for Dispatch
impl Unpin for Dispatch
impl UnsafeUnpin for Dispatch
impl UnwindSafe for Dispatch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<K, Q> Comparable<Q> for K
impl<K, Q> Comparable<Q> for K
§impl<K, Q> Equivalent<Q> for K
impl<K, Q> Equivalent<Q> for K
§fn equivalent(&self, key: &Q) -> bool
fn equivalent(&self, key: &Q) -> bool
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
ReadEndian::read_from_little_endian().