Struct Fusion
pub struct Fusion<B>where
B: FusionBackend,{ /* private fields */ }Expand description
Enable dynamic operation fusion on a backend that implements fusion backend.
Trait Implementations§
§impl<B> ActivationOps<Fusion<B>> for Fusion<B>where
B: FusionBackend,
impl<B> ActivationOps<Fusion<B>> for Fusion<B>where
B: FusionBackend,
§fn leaky_relu(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
negative_slope: Scalar,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn leaky_relu( tensor: <B as BackendTypes>::FloatTensorPrimitive, negative_slope: Scalar, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn relu(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn relu( tensor: <B as BackendTypes>::FloatTensorPrimitive, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn relu_backward(
output: <B as BackendTypes>::FloatTensorPrimitive,
grad: <B as BackendTypes>::FloatTensorPrimitive,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn relu_backward( output: <B as BackendTypes>::FloatTensorPrimitive, grad: <B as BackendTypes>::FloatTensorPrimitive, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn gelu(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn gelu( tensor: <B as BackendTypes>::FloatTensorPrimitive, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn prelu(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
alpha: <B as BackendTypes>::FloatTensorPrimitive,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn prelu( tensor: <B as BackendTypes>::FloatTensorPrimitive, alpha: <B as BackendTypes>::FloatTensorPrimitive, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn gelu_backward(
x: <B as BackendTypes>::FloatTensorPrimitive,
grad: <B as BackendTypes>::FloatTensorPrimitive,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn gelu_backward( x: <B as BackendTypes>::FloatTensorPrimitive, grad: <B as BackendTypes>::FloatTensorPrimitive, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn sigmoid(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn sigmoid( tensor: <B as BackendTypes>::FloatTensorPrimitive, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn sigmoid_backward(
output: <B as BackendTypes>::FloatTensorPrimitive,
grad: <B as BackendTypes>::FloatTensorPrimitive,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn sigmoid_backward( output: <B as BackendTypes>::FloatTensorPrimitive, grad: <B as BackendTypes>::FloatTensorPrimitive, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn hard_sigmoid(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
alpha: Scalar,
beta: Scalar,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn hard_sigmoid( tensor: <B as BackendTypes>::FloatTensorPrimitive, alpha: Scalar, beta: Scalar, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn log_sigmoid(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn log_sigmoid( tensor: <B as BackendTypes>::FloatTensorPrimitive, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn softmax(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn softmax( tensor: <B as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn log_softmax(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn log_softmax( tensor: <B as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn softmin(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn softmin( tensor: <B as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn log_sigmoid_backward(
x: <B as BackendTypes>::FloatTensorPrimitive,
grad: <B as BackendTypes>::FloatTensorPrimitive,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn log_sigmoid_backward( x: <B as BackendTypes>::FloatTensorPrimitive, grad: <B as BackendTypes>::FloatTensorPrimitive, ) -> <B as BackendTypes>::FloatTensorPrimitive
§impl<B> Backend for Fusion<B>where
B: FusionBackend,
impl<B> Backend for Fusion<B>where
B: FusionBackend,
§fn profile_abandon(
device: &<Fusion<B> as BackendTypes>::Device,
token: ProfileToken,
)
fn profile_abandon( device: &<Fusion<B> as BackendTypes>::Device, token: ProfileToken, )
Sent through the queue the window’s own marks travelled, so it is dropped in order with them — and never flushed: abandoning happens on a panic, where draining the queue would run the very work that was unwinding out from under it.
§fn seed(device: &<B as BackendTypes>::Device, seed: u64)
fn seed(device: &<B as BackendTypes>::Device, seed: u64)
§fn sync(
device: &<Fusion<B> as BackendTypes>::Device,
) -> Result<(), ExecutionError>
fn sync( device: &<Fusion<B> as BackendTypes>::Device, ) -> Result<(), ExecutionError>
§fn profile<O>(
device: &<Fusion<B> as BackendTypes>::Device,
options: ProfileOptions,
func: impl FnOnce() -> O + Send,
) -> Result<(O, ProfileDuration), ExecutionError>where
O: Send + 'static,
fn profile<O>(
device: &<Fusion<B> 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: &<Fusion<B> as BackendTypes>::Device,
) -> Result<Option<ProfileToken>, ExecutionError>
fn profile_start( device: &<Fusion<B> as BackendTypes>::Device, ) -> Result<Option<ProfileToken>, ExecutionError>
profile_end from the same stream. Read more§fn profile_end(
device: &<Fusion<B> as BackendTypes>::Device,
token: ProfileToken,
options: ProfileOptions,
) -> Result<ProfileDuration, ExecutionError>
fn profile_end( device: &<Fusion<B> as BackendTypes>::Device, token: ProfileToken, options: ProfileOptions, ) -> Result<ProfileDuration, ExecutionError>
token at the calling stream’s current position. Read more§fn ad_enabled(_device: &<Fusion<B> as BackendTypes>::Device) -> bool
fn ad_enabled(_device: &<Fusion<B> as BackendTypes>::Device) -> bool
§fn memory_persistent_allocations<Output, Input, Func>(
device: &<Fusion<B> as BackendTypes>::Device,
input: Input,
func: Func,
) -> Output
fn memory_persistent_allocations<Output, Input, Func>( device: &<Fusion<B> as BackendTypes>::Device, input: Input, func: Func, ) -> Output
§fn memory_cleanup(device: &<Fusion<B> as BackendTypes>::Device)
fn memory_cleanup(device: &<Fusion<B> as BackendTypes>::Device)
§fn memory_pool_report(
device: &<Fusion<B> as BackendTypes>::Device,
) -> Option<Vec<SlicedPoolReport>>
fn memory_pool_report( device: &<Fusion<B> 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: &<Fusion<B> as BackendTypes>::Device,
) -> Option<MemoryPoolUsage>
fn memory_pool_usage( device: &<Fusion<B> 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: &<Fusion<B> as BackendTypes>::Device)where
Iter: Iterator<Item = &'a mut TensorData>,
fn staging<'a, Iter>(data: Iter, device: &<Fusion<B> as BackendTypes>::Device)where
Iter: Iterator<Item = &'a mut TensorData>,
§fn supports_dtype(
device: &<Fusion<B> as BackendTypes>::Device,
dtype: DType,
) -> bool
fn supports_dtype( device: &<Fusion<B> as BackendTypes>::Device, dtype: DType, ) -> bool
§fn dtype_usage(
device: &<Fusion<B> as BackendTypes>::Device,
dtype: DType,
) -> EnumSet<DTypeUsage>
fn dtype_usage( device: &<Fusion<B> as BackendTypes>::Device, dtype: DType, ) -> EnumSet<DTypeUsage>
§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 flush(
device: &<Fusion<B> as BackendTypes>::Device,
) -> Result<(), ExecutionError>
fn flush( device: &<Fusion<B> as BackendTypes>::Device, ) -> Result<(), ExecutionError>
§fn graph_prepare(
device: &<Fusion<B> as BackendTypes>::Device,
) -> Result<(), ExecutionError>
fn graph_prepare( device: &<Fusion<B> 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: &<Fusion<B> as BackendTypes>::Device,
) -> Result<(), ExecutionError>
fn graph_start_capture( device: &<Fusion<B> 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: &<Fusion<B> as BackendTypes>::Device,
) -> Result<<Fusion<B> as BackendTypes>::GraphPrimitive, ExecutionError>
fn graph_stop_capture( device: &<Fusion<B> as BackendTypes>::Device, ) -> Result<<Fusion<B> as BackendTypes>::GraphPrimitive, ExecutionError>
graph_replay.§unsafe fn graph_replay(
device: &<Fusion<B> as BackendTypes>::Device,
graph: &<Fusion<B> as BackendTypes>::GraphPrimitive,
) -> Result<(), ExecutionError>
unsafe fn graph_replay( device: &<Fusion<B> as BackendTypes>::Device, graph: &<Fusion<B> as BackendTypes>::GraphPrimitive, ) -> Result<(), ExecutionError>
§impl<B> BackendIr for Fusion<B>where
B: FusionBackend,
impl<B> BackendIr for Fusion<B>where
B: FusionBackend,
§type Handle = FusionTensor<<B as FusionBackend>::FusionRuntime>
type Handle = FusionTensor<<B as FusionBackend>::FusionRuntime>
§fn float_tensor(
handle: TensorHandle<<Fusion<B> as BackendIr>::Handle>,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_tensor( handle: TensorHandle<<Fusion<B> as BackendIr>::Handle>, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn int_tensor(
handle: TensorHandle<<Fusion<B> as BackendIr>::Handle>,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_tensor( handle: TensorHandle<<Fusion<B> as BackendIr>::Handle>, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn bool_tensor(
handle: TensorHandle<<Fusion<B> as BackendIr>::Handle>,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_tensor( handle: TensorHandle<<Fusion<B> as BackendIr>::Handle>, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn quantized_tensor(
handle: TensorHandle<<Fusion<B> as BackendIr>::Handle>,
) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
fn quantized_tensor( handle: TensorHandle<<Fusion<B> as BackendIr>::Handle>, ) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
§fn float_tensor_handle(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendIr>::Handle
fn float_tensor_handle( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendIr>::Handle
§fn int_tensor_handle(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendIr>::Handle
fn int_tensor_handle( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendIr>::Handle
§fn bool_tensor_handle(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
) -> <Fusion<B> as BackendIr>::Handle
fn bool_tensor_handle( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, ) -> <Fusion<B> as BackendIr>::Handle
§fn quantized_tensor_handle(
tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive,
) -> <Fusion<B> as BackendIr>::Handle
fn quantized_tensor_handle( tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive, ) -> <Fusion<B> as BackendIr>::Handle
§impl<B> BackendTypes for Fusion<B>where
B: FusionBackend,
impl<B> BackendTypes for Fusion<B>where
B: FusionBackend,
§type Device = <B as BackendTypes>::Device
type Device = <B as BackendTypes>::Device
§type FloatTensorPrimitive = FusionTensor<<B as FusionBackend>::FusionRuntime>
type FloatTensorPrimitive = FusionTensor<<B as FusionBackend>::FusionRuntime>
§type IntTensorPrimitive = FusionTensor<<B as FusionBackend>::FusionRuntime>
type IntTensorPrimitive = FusionTensor<<B as FusionBackend>::FusionRuntime>
§type BoolTensorPrimitive = FusionTensor<<B as FusionBackend>::FusionRuntime>
type BoolTensorPrimitive = FusionTensor<<B as FusionBackend>::FusionRuntime>
§type QuantizedTensorPrimitive = FusionTensor<<B as FusionBackend>::FusionRuntime>
type QuantizedTensorPrimitive = FusionTensor<<B as FusionBackend>::FusionRuntime>
§type GraphPrimitive = <B as BackendTypes>::GraphPrimitive
type GraphPrimitive = <B as BackendTypes>::GraphPrimitive
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<B> BoolTensorOps<Fusion<B>> for Fusion<B>where
B: FusionBackend,
impl<B> BoolTensorOps<Fusion<B>> for Fusion<B>where
B: FusionBackend,
§fn bool_empty(
shape: Shape,
device: &<Fusion<B> as BackendTypes>::Device,
dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_empty( shape: Shape, device: &<Fusion<B> as BackendTypes>::Device, dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_zeros(
shape: Shape,
device: &<Fusion<B> as BackendTypes>::Device,
dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_zeros( shape: Shape, device: &<Fusion<B> as BackendTypes>::Device, dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_ones(
shape: Shape,
device: &<Fusion<B> as BackendTypes>::Device,
dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_ones( shape: Shape, device: &<Fusion<B> as BackendTypes>::Device, dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§async fn bool_into_data(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
) -> Result<TensorData, ExecutionError>
async fn bool_into_data( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, ) -> Result<TensorData, ExecutionError>
§fn bool_from_data(
data: TensorData,
device: &<Fusion<B> as BackendTypes>::Device,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_from_data( data: TensorData, device: &<Fusion<B> as BackendTypes>::Device, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_into_int(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
out_dtype: IntDType,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn bool_into_int( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, out_dtype: IntDType, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn bool_into_float(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
out_dtype: FloatDType,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn bool_into_float( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, out_dtype: FloatDType, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn bool_any_dim(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_any_dim( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_all_dim(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_all_dim( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_any(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_any( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
tensor evaluates to True. Read more§fn bool_all(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_all( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
tensor evaluate to True. Read more§fn bool_to_device(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
device_dst: &<Fusion<B> as BackendTypes>::Device,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_to_device( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, device_dst: &<Fusion<B> as BackendTypes>::Device, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_reshape(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
shape: Shape,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_reshape( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, shape: Shape, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_slice(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
slices: &[Slice],
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_slice( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, slices: &[Slice], ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_slice_assign(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
slices: &[Slice],
value: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_slice_assign( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, slices: &[Slice], value: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_cat(
tensors: Vec<<Fusion<B> as BackendTypes>::BoolTensorPrimitive>,
dim: usize,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_cat( tensors: Vec<<Fusion<B> as BackendTypes>::BoolTensorPrimitive>, dim: usize, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_equal(
lhs: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_equal( lhs: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_not(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_not( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_and(
lhs: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_and( lhs: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
&&) operation on two boolean tensors. Read more§fn bool_or(
lhs: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_or( lhs: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
||) operation on two boolean tensors. Read more§fn bool_swap_dims(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
dim1: usize,
dim2: usize,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_swap_dims( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, dim1: usize, dim2: usize, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_permute(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
axes: &[usize],
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_permute( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, axes: &[usize], ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_expand(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
shape: Shape,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_expand( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, shape: Shape, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
tensor to the given shape.§fn bool_flip(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
axes: &[usize],
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_flip( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, axes: &[usize], ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_repeat_dim(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
dim: usize,
times: usize,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_repeat_dim( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, dim: usize, times: usize, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_unfold(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
dim: usize,
size: usize,
step: usize,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_unfold( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, dim: usize, size: usize, step: usize, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_mask_where(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
mask: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
value: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_mask_where( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, mask: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, value: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_mask_fill(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
mask: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
value: Scalar,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_mask_fill( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, mask: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, value: Scalar, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_gather(
dim: usize,
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_gather( dim: usize, tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_scatter_or(
dim: usize,
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
value: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_scatter_or( dim: usize, tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive, value: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_equal_elem(
lhs: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
rhs: Scalar,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_equal_elem( lhs: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, rhs: Scalar, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_select(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
dim: usize,
indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_select( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, dim: usize, indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_select_or(
tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
dim: usize,
indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
value: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn bool_select_or( tensor: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, dim: usize, indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive, value: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn bool_mask_select(
tensor: <B as BackendTypes>::BoolTensorPrimitive,
mask: <B as BackendTypes>::BoolTensorPrimitive,
) -> impl Future<Output = <B as BackendTypes>::BoolTensorPrimitive> + Send + 'static
fn bool_mask_select( tensor: <B as BackendTypes>::BoolTensorPrimitive, mask: <B as BackendTypes>::BoolTensorPrimitive, ) -> impl Future<Output = <B as BackendTypes>::BoolTensorPrimitive> + Send + 'static
§fn bool_not_equal(
lhs: <B as BackendTypes>::BoolTensorPrimitive,
rhs: <B as BackendTypes>::BoolTensorPrimitive,
) -> <B as BackendTypes>::BoolTensorPrimitive
fn bool_not_equal( lhs: <B as BackendTypes>::BoolTensorPrimitive, rhs: <B as BackendTypes>::BoolTensorPrimitive, ) -> <B as BackendTypes>::BoolTensorPrimitive
§fn bool_not_equal_elem(
lhs: <B as BackendTypes>::BoolTensorPrimitive,
rhs: Scalar,
) -> <B as BackendTypes>::BoolTensorPrimitive
fn bool_not_equal_elem( lhs: <B as BackendTypes>::BoolTensorPrimitive, rhs: Scalar, ) -> <B as BackendTypes>::BoolTensorPrimitive
§fn bool_xor(
lhs: <B as BackendTypes>::BoolTensorPrimitive,
rhs: <B as BackendTypes>::BoolTensorPrimitive,
) -> <B as BackendTypes>::BoolTensorPrimitive
fn bool_xor( lhs: <B as BackendTypes>::BoolTensorPrimitive, rhs: <B as BackendTypes>::BoolTensorPrimitive, ) -> <B as BackendTypes>::BoolTensorPrimitive
§fn bool_transpose(
tensor: <B as BackendTypes>::BoolTensorPrimitive,
) -> <B as BackendTypes>::BoolTensorPrimitive
fn bool_transpose( tensor: <B as BackendTypes>::BoolTensorPrimitive, ) -> <B as BackendTypes>::BoolTensorPrimitive
§fn bool_argwhere(
tensor: <B as BackendTypes>::BoolTensorPrimitive,
out_dtype: IntDType,
) -> impl Future<Output = <B as BackendTypes>::IntTensorPrimitive> + Send + 'static
fn bool_argwhere( tensor: <B as BackendTypes>::BoolTensorPrimitive, out_dtype: IntDType, ) -> impl Future<Output = <B as BackendTypes>::IntTensorPrimitive> + Send + 'static
§impl<B> BoolVisionOps for Fusion<B>where
B: FusionBackend + BoolVisionOps,
Available on crate feature fusion only.
impl<B> BoolVisionOps for Fusion<B>where
B: FusionBackend + BoolVisionOps,
fusion only.§fn connected_components(
img: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
connectivity: Connectivity,
out_dtype: IntDType,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn connected_components( img: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, connectivity: Connectivity, out_dtype: IntDType, ) -> <Fusion<B> 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: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
connectivity: Connectivity,
opts: ConnectedStatsOptions,
out_dtype: IntDType,
) -> (<Fusion<B> as BackendTypes>::IntTensorPrimitive, ConnectedStatsPrimitive<Fusion<B>>)
fn connected_components_with_stats( img: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, connectivity: Connectivity, opts: ConnectedStatsOptions, out_dtype: IntDType, ) -> (<Fusion<B> as BackendTypes>::IntTensorPrimitive, ConnectedStatsPrimitive<Fusion<B>>)
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: Self::BoolTensorPrimitive,
kernel: Self::BoolTensorPrimitive,
opts: MorphOptions,
) -> Self::BoolTensorPrimitive
fn bool_erode( input: Self::BoolTensorPrimitive, kernel: Self::BoolTensorPrimitive, opts: MorphOptions, ) -> Self::BoolTensorPrimitive
§fn bool_dilate(
input: Self::BoolTensorPrimitive,
kernel: Self::BoolTensorPrimitive,
opts: MorphOptions,
) -> Self::BoolTensorPrimitive
fn bool_dilate( input: Self::BoolTensorPrimitive, kernel: Self::BoolTensorPrimitive, opts: MorphOptions, ) -> Self::BoolTensorPrimitive
§impl<B> Clone for Fusion<B>where
B: Clone + FusionBackend,
impl<B> Clone for Fusion<B>where
B: Clone + FusionBackend,
§impl<B> Debug for Fusion<B>where
B: Debug + FusionBackend,
impl<B> Debug for Fusion<B>where
B: Debug + FusionBackend,
§impl<B> Default for Fusion<B>where
B: Default + FusionBackend,
impl<B> Default for Fusion<B>where
B: Default + FusionBackend,
§impl<B> DistributedOps<Fusion<B>> for Fusion<B>where
B: FusionBackend,
impl<B> DistributedOps<Fusion<B>> for Fusion<B>where
B: FusionBackend,
§fn all_reduce(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
op: ReduceOperation,
device_ids: Vec<DeviceId>,
) -> CollectiveTensor<Fusion<B>>
fn all_reduce( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, op: ReduceOperation, device_ids: Vec<DeviceId>, ) -> CollectiveTensor<Fusion<B>>
§fn sync_collective(device: &<Fusion<B> as BackendTypes>::Device)
fn sync_collective(device: &<Fusion<B> as BackendTypes>::Device)
§fn start_communication_server(
devices: &[<B as BackendTypes>::Device],
config: DistributedConfig,
)
fn start_communication_server( devices: &[<B as BackendTypes>::Device], config: DistributedConfig, )
§fn close_communication_server(_device: &<B as BackendTypes>::Device)
fn close_communication_server(_device: &<B as BackendTypes>::Device)
§fn register_sync_parameters(
_device: &<B as BackendTypes>::Device,
distributed_params: Vec<DistributedParams>,
)
fn register_sync_parameters( _device: &<B as BackendTypes>::Device, distributed_params: Vec<DistributedParams>, )
§fn submit_sync_collective(device: &<B as BackendTypes>::Device)
fn submit_sync_collective(device: &<B as BackendTypes>::Device)
§fn submit_gradient_sync(
tensor: TensorRef<B>,
distributed_params: DistributedParams,
)
fn submit_gradient_sync( tensor: TensorRef<B>, distributed_params: DistributedParams, )
§unsafe fn comm_device(tensor: &TensorRef<B>) -> <B as BackendTypes>::Device
unsafe fn comm_device(tensor: &TensorRef<B>) -> <B as BackendTypes>::Device
§unsafe fn float_from_ref(
tensor: &TensorRef<B>,
) -> <B as BackendTypes>::FloatTensorPrimitive
unsafe fn float_from_ref( tensor: &TensorRef<B>, ) -> <B as BackendTypes>::FloatTensorPrimitive
§impl<B> FloatTensorOps<Fusion<B>> for Fusion<B>where
B: FusionBackend,
impl<B> FloatTensorOps<Fusion<B>> for Fusion<B>where
B: FusionBackend,
§fn float_pad(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
padding: &[(usize, usize)],
mode: PadMode,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_pad( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, padding: &[(usize, usize)], mode: PadMode, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
(before, after) pair per dimension.§fn float_from_data(
data: TensorData,
device: &<Fusion<B> as BackendTypes>::Device,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_from_data( data: TensorData, device: &<Fusion<B> as BackendTypes>::Device, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_random(
shape: Shape,
distribution: Distribution,
device: &<Fusion<B> as BackendTypes>::Device,
dtype: FloatDType,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_random( shape: Shape, distribution: Distribution, device: &<Fusion<B> as BackendTypes>::Device, dtype: FloatDType, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_zeros(
shape: Shape,
device: &<Fusion<B> as BackendTypes>::Device,
dtype: FloatDType,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_zeros( shape: Shape, device: &<Fusion<B> as BackendTypes>::Device, dtype: FloatDType, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_ones(
shape: Shape,
device: &<Fusion<B> as BackendTypes>::Device,
dtype: FloatDType,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_ones( shape: Shape, device: &<Fusion<B> as BackendTypes>::Device, dtype: FloatDType, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_full(
shape: Shape,
fill_value: Scalar,
device: &<Fusion<B> as BackendTypes>::Device,
dtype: FloatDType,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_full( shape: Shape, fill_value: Scalar, device: &<Fusion<B> as BackendTypes>::Device, dtype: FloatDType, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§async fn float_into_data(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> Result<TensorData, ExecutionError>
async fn float_into_data( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> Result<TensorData, ExecutionError>
§fn float_to_device(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
device_dst: &<Fusion<B> as BackendTypes>::Device,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_to_device( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, device_dst: &<Fusion<B> as BackendTypes>::Device, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_into_int(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dtype: IntDType,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn float_into_int( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dtype: IntDType, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn float_empty(
shape: Shape,
device: &<Fusion<B> as BackendTypes>::Device,
dtype: FloatDType,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_empty( shape: Shape, device: &<Fusion<B> as BackendTypes>::Device, dtype: FloatDType, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_add(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_add( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_add_scalar(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_add_scalar( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_clamp(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
min: Scalar,
max: Scalar,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_clamp( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, min: Scalar, max: Scalar, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_sub(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_sub( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_sub_scalar(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_sub_scalar( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_mul(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_mul( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_mul_scalar(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_mul_scalar( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_div(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_div( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_div_scalar(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_div_scalar( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_remainder(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_remainder( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_remainder_scalar(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_remainder_scalar( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_matmul(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_matmul( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_cross(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_cross( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_swap_dims(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim1: usize,
dim2: usize,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_swap_dims( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim1: usize, dim2: usize, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_reshape(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
shape: Shape,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_reshape( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, shape: Shape, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_gather(
dim: usize,
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_gather( dim: usize, tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_scatter(
dim: usize,
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
value: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
update: IndexingUpdateOp,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_scatter( dim: usize, tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive, value: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, update: IndexingUpdateOp, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_scatter_nd(
data: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
values: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
reduction: IndexingUpdateOp,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_scatter_nd( data: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive, values: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, reduction: IndexingUpdateOp, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_gather_nd(
data: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_gather_nd( data: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_select(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_select( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_select_assign(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
value: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
update: IndexingUpdateOp,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_select_assign( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive, value: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, update: IndexingUpdateOp, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_slice(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
slices: &[Slice],
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_slice( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, slices: &[Slice], ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_slice_assign(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
slices: &[Slice],
value: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_slice_assign( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, slices: &[Slice], value: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_mask_where(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
mask: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
value: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_mask_where( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, mask: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, value: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_mask_fill(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
mask: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
value: Scalar,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_mask_fill( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, mask: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, value: Scalar, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_equal(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn float_equal( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn float_equal_elem(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn float_equal_elem( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn float_greater(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn float_greater( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn float_greater_elem(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn float_greater_elem( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn float_greater_equal(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn float_greater_equal( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn float_greater_equal_elem(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn float_greater_equal_elem( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn float_lower(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn float_lower( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn float_lower_elem(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn float_lower_elem( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn float_lower_equal(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn float_lower_equal( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn float_lower_equal_elem(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn float_lower_equal_elem( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn float_sum(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_sum( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_sum_dim(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
axis: usize,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_sum_dim( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, axis: usize, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_sum_dims(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dims: &[usize],
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_sum_dims( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dims: &[usize], ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_any(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn float_any( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
tensor evaluates to True. Read more§fn float_any_dim(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn float_any_dim( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn float_all(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn float_all( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
tensor evaluate to True. Read more§fn float_all_dim(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn float_all_dim( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn float_prod(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_prod( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_prod_dim(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_prod_dim( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_mean(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_mean( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_mean_dim(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_mean_dim( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_cumsum(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_cumsum( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_cumprod(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_cumprod( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_cummin(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_cummin( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_cummax(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_cummax( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_exp(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_exp( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_log(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_log( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_log1p(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_log1p( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_powf_scalar_impl(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_powf_scalar_impl( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
value. Read more§fn float_sqrt(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_sqrt( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_abs(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_abs( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_cos(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_cos( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_sin(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_sin( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_tan(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_tan( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_cosh(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_cosh( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_sinh(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_sinh( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_tanh(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_tanh( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_acos(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_acos( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_acosh(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_acosh( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_asin(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_asin( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_asinh(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_asinh( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_atan(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_atan( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_atanh(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_atanh( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_atan2(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_atan2( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_recip(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_recip( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_erf(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_erf( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_cat(
tensors: Vec<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>,
dim: usize,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_cat( tensors: Vec<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>, dim: usize, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_argmax(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
out_dtype: IntDType,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn float_argmax( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, out_dtype: IntDType, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn float_argtopk(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
k: usize,
out_dtype: IntDType,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn float_argtopk( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, k: usize, out_dtype: IntDType, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn float_topk(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
k: usize,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_topk( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, k: usize, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_topk_with_indices(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
k: usize,
indices_dtype: IntDType,
) -> (<Fusion<B> as BackendTypes>::FloatTensorPrimitive, <Fusion<B> as BackendTypes>::IntTensorPrimitive)
fn float_topk_with_indices( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, k: usize, indices_dtype: IntDType, ) -> (<Fusion<B> as BackendTypes>::FloatTensorPrimitive, <Fusion<B> as BackendTypes>::IntTensorPrimitive)
§fn float_repeat_dim(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
times: usize,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_repeat_dim( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, times: usize, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_argmin(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
out_dtype: IntDType,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn float_argmin( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, out_dtype: IntDType, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn float_max(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_max( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_max_dim(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_max_dim( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_max_dim_with_indices(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
indices_dtype: IntDType,
) -> (<Fusion<B> as BackendTypes>::FloatTensorPrimitive, <Fusion<B> as BackendTypes>::IntTensorPrimitive)
fn float_max_dim_with_indices( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, indices_dtype: IntDType, ) -> (<Fusion<B> as BackendTypes>::FloatTensorPrimitive, <Fusion<B> as BackendTypes>::IntTensorPrimitive)
§fn float_min(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_min( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_min_dim(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_min_dim( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_min_dim_with_indices(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
indices_dtype: IntDType,
) -> (<Fusion<B> as BackendTypes>::FloatTensorPrimitive, <Fusion<B> as BackendTypes>::IntTensorPrimitive)
fn float_min_dim_with_indices( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, indices_dtype: IntDType, ) -> (<Fusion<B> as BackendTypes>::FloatTensorPrimitive, <Fusion<B> as BackendTypes>::IntTensorPrimitive)
§fn float_max_abs(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_max_abs( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_max_abs_dim(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_max_abs_dim( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_powf(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_powf( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_permute(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
axes: &[usize],
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_permute( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, axes: &[usize], ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_expand(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
shape: Shape,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_expand( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, shape: Shape, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
tensor to the given shape.§fn float_flip(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
axes: &[usize],
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_flip( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, axes: &[usize], ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_round(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_round( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_floor(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_floor( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_ceil(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_ceil( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_trunc(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_trunc( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_cast(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dtype: FloatDType,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_cast( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dtype: FloatDType, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_unfold(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
size: usize,
step: usize,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_unfold( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, size: usize, step: usize, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_is_nan(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn float_is_nan( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn float_is_inf(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn float_is_inf( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn float_grid_sample_2d(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
grid: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
options: GridSampleOptions,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_grid_sample_2d( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, grid: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, options: GridSampleOptions, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_hypot(
lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn float_hypot( lhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn float_clamp_min(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
min: Scalar,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn float_clamp_min( tensor: <B as BackendTypes>::FloatTensorPrimitive, min: Scalar, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn float_clamp_max(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
max: Scalar,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn float_clamp_max( tensor: <B as BackendTypes>::FloatTensorPrimitive, max: Scalar, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn float_neg(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn float_neg( tensor: <B as BackendTypes>::FloatTensorPrimitive, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn float_transpose(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn float_transpose( tensor: <B as BackendTypes>::FloatTensorPrimitive, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn float_mask_select(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
mask: <B as BackendTypes>::BoolTensorPrimitive,
) -> impl Future<Output = <B as BackendTypes>::FloatTensorPrimitive> + Send + 'static
fn float_mask_select( tensor: <B as BackendTypes>::FloatTensorPrimitive, mask: <B as BackendTypes>::BoolTensorPrimitive, ) -> impl Future<Output = <B as BackendTypes>::FloatTensorPrimitive> + Send + 'static
§fn float_not_equal(
lhs: <B as BackendTypes>::FloatTensorPrimitive,
rhs: <B as BackendTypes>::FloatTensorPrimitive,
out_dtype: BoolStore,
) -> <B as BackendTypes>::BoolTensorPrimitive
fn float_not_equal( lhs: <B as BackendTypes>::FloatTensorPrimitive, rhs: <B as BackendTypes>::FloatTensorPrimitive, out_dtype: BoolStore, ) -> <B as BackendTypes>::BoolTensorPrimitive
§fn float_not_equal_elem(
lhs: <B as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <B as BackendTypes>::BoolTensorPrimitive
fn float_not_equal_elem( lhs: <B as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <B as BackendTypes>::BoolTensorPrimitive
§fn float_detach(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn float_detach( tensor: <B as BackendTypes>::FloatTensorPrimitive, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn float_set_require_grad(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
_require_grad: bool,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn float_set_require_grad( tensor: <B as BackendTypes>::FloatTensorPrimitive, _require_grad: bool, ) -> <B as BackendTypes>::FloatTensorPrimitive
require_grad flag of a tensor.§fn float_is_require_grad(
_tensor: &<B as BackendTypes>::FloatTensorPrimitive,
) -> bool
fn float_is_require_grad( _tensor: &<B as BackendTypes>::FloatTensorPrimitive, ) -> bool
require_grad flag of a tensor.§fn float_powi(
lhs: <B as BackendTypes>::FloatTensorPrimitive,
rhs: <B as BackendTypes>::IntTensorPrimitive,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn float_powi( lhs: <B as BackendTypes>::FloatTensorPrimitive, rhs: <B as BackendTypes>::IntTensorPrimitive, ) -> <B 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
§fn float_powi_scalar_impl(
lhs: <B as BackendTypes>::FloatTensorPrimitive,
rhs: Scalar,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn float_powi_scalar_impl( lhs: <B as BackendTypes>::FloatTensorPrimitive, rhs: Scalar, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn float_powf_scalar(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
value: Scalar,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn float_powf_scalar( tensor: <B as BackendTypes>::FloatTensorPrimitive, value: Scalar, ) -> <B as BackendTypes>::FloatTensorPrimitive
value. Read more§fn float_sign(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn float_sign( tensor: <B as BackendTypes>::FloatTensorPrimitive, ) -> <B as BackendTypes>::FloatTensorPrimitive
tensor. Read more§fn float_sort(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
dim: usize,
descending: bool,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn float_sort( tensor: <B as BackendTypes>::FloatTensorPrimitive, dim: usize, descending: bool, ) -> <B as BackendTypes>::FloatTensorPrimitive
tensor by value in along a given dimension. Read more§fn float_sort_with_indices(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
dim: usize,
descending: bool,
indices_dtype: IntDType,
) -> (<B as BackendTypes>::FloatTensorPrimitive, <B as BackendTypes>::IntTensorPrimitive)
fn float_sort_with_indices( tensor: <B as BackendTypes>::FloatTensorPrimitive, dim: usize, descending: bool, indices_dtype: IntDType, ) -> (<B as BackendTypes>::FloatTensorPrimitive, <B as BackendTypes>::IntTensorPrimitive)
tensor by value in along a given dimension. Read more§fn float_argsort(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
dim: usize,
descending: bool,
out_dtype: IntDType,
) -> <B as BackendTypes>::IntTensorPrimitive
fn float_argsort( tensor: <B as BackendTypes>::FloatTensorPrimitive, dim: usize, descending: bool, out_dtype: IntDType, ) -> <B as BackendTypes>::IntTensorPrimitive
tensor by value along a given dimension. Read more§impl<B> FloatVisionOps for Fusion<B>where
B: FusionBackend + FloatVisionOps,
Available on crate feature fusion only.
impl<B> FloatVisionOps for Fusion<B>where
B: FusionBackend + FloatVisionOps,
fusion only.§fn float_erode(
input: Self::FloatTensorPrimitive,
kernel: Self::BoolTensorPrimitive,
opts: MorphOptions,
) -> Self::FloatTensorPrimitive
fn float_erode( input: Self::FloatTensorPrimitive, kernel: Self::BoolTensorPrimitive, opts: MorphOptions, ) -> Self::FloatTensorPrimitive
§fn float_dilate(
input: Self::FloatTensorPrimitive,
kernel: Self::BoolTensorPrimitive,
opts: MorphOptions,
) -> Self::FloatTensorPrimitive
fn float_dilate( input: Self::FloatTensorPrimitive, kernel: Self::BoolTensorPrimitive, opts: MorphOptions, ) -> Self::FloatTensorPrimitive
§fn nms(
boxes: Self::FloatTensorPrimitive,
scores: Self::FloatTensorPrimitive,
options: NmsOptions,
out_dtype: IntDType,
) -> Self::IntTensorPrimitive
fn nms( boxes: Self::FloatTensorPrimitive, scores: Self::FloatTensorPrimitive, options: NmsOptions, out_dtype: IntDType, ) -> Self::IntTensorPrimitive
§impl<B> IntTensorOps<Fusion<B>> for Fusion<B>where
B: FusionBackend,
impl<B> IntTensorOps<Fusion<B>> for Fusion<B>where
B: FusionBackend,
§fn int_pad(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
padding: &[(usize, usize)],
mode: PadMode,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_pad( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, padding: &[(usize, usize)], mode: PadMode, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
(before, after) pair per dimension.§fn int_empty(
shape: Shape,
device: &<Fusion<B> as BackendTypes>::Device,
dtype: IntDType,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_empty( shape: Shape, device: &<Fusion<B> as BackendTypes>::Device, dtype: IntDType, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§async fn int_into_data(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> Result<TensorData, ExecutionError>
async fn int_into_data( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> Result<TensorData, ExecutionError>
§fn int_from_data(
data: TensorData,
device: &<Fusion<B> as BackendTypes>::Device,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_from_data( data: TensorData, device: &<Fusion<B> as BackendTypes>::Device, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_to_device(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
device_dst: &<Fusion<B> as BackendTypes>::Device,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_to_device( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, device_dst: &<Fusion<B> as BackendTypes>::Device, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_reshape(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
shape: Shape,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_reshape( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, shape: Shape, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_slice(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
slices: &[Slice],
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_slice( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, slices: &[Slice], ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_slice_assign(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
slices: &[Slice],
value: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_slice_assign( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, slices: &[Slice], value: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_matmul(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_matmul( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_mask_where(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
mask: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
value: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_mask_where( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, mask: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, value: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_mask_fill(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
mask: <Fusion<B> as BackendTypes>::BoolTensorPrimitive,
value: Scalar,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_mask_fill( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, mask: <Fusion<B> as BackendTypes>::BoolTensorPrimitive, value: Scalar, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_gather(
dim: usize,
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_gather( dim: usize, tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_scatter(
dim: usize,
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
value: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
update: IndexingUpdateOp,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_scatter( dim: usize, tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive, value: <Fusion<B> as BackendTypes>::IntTensorPrimitive, update: IndexingUpdateOp, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_scatter_nd(
data: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
values: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
reduction: IndexingUpdateOp,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_scatter_nd( data: <Fusion<B> as BackendTypes>::IntTensorPrimitive, indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive, values: <Fusion<B> as BackendTypes>::IntTensorPrimitive, reduction: IndexingUpdateOp, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_gather_nd(
data: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_gather_nd( data: <Fusion<B> as BackendTypes>::IntTensorPrimitive, indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_select(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim: usize,
indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_select( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim: usize, indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_select_assign(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim: usize,
indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
value: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
update: IndexingUpdateOp,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_select_assign( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim: usize, indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive, value: <Fusion<B> as BackendTypes>::IntTensorPrimitive, update: IndexingUpdateOp, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_cat(
tensors: Vec<<Fusion<B> as BackendTypes>::IntTensorPrimitive>,
dim: usize,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_cat( tensors: Vec<<Fusion<B> as BackendTypes>::IntTensorPrimitive>, dim: usize, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_equal(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn int_equal( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn int_equal_elem(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn int_equal_elem( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn int_greater(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn int_greater( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn int_greater_elem(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn int_greater_elem( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn int_greater_equal(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn int_greater_equal( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn int_greater_equal_elem(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn int_greater_equal_elem( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn int_lower(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn int_lower( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn int_lower_elem(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn int_lower_elem( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn int_lower_equal(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn int_lower_equal( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn int_lower_equal_elem(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn int_lower_equal_elem( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn int_add(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_add( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_add_scalar(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_add_scalar( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_sub(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_sub( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_sub_scalar(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_sub_scalar( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_mul(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_mul( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_mul_scalar(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_mul_scalar( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_div(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_div( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_div_scalar(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_div_scalar( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_remainder(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_remainder( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_remainder_scalar(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_remainder_scalar( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_zeros(
shape: Shape,
device: &<Fusion<B> as BackendTypes>::Device,
dtype: IntDType,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_zeros( shape: Shape, device: &<Fusion<B> as BackendTypes>::Device, dtype: IntDType, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_ones(
shape: Shape,
device: &<Fusion<B> as BackendTypes>::Device,
dtype: IntDType,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_ones( shape: Shape, device: &<Fusion<B> as BackendTypes>::Device, dtype: IntDType, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_full(
shape: Shape,
fill_value: Scalar,
device: &<Fusion<B> as BackendTypes>::Device,
dtype: IntDType,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_full( shape: Shape, fill_value: Scalar, device: &<Fusion<B> as BackendTypes>::Device, dtype: IntDType, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_sum(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_sum( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_sum_dim(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
axis: usize,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_sum_dim( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, axis: usize, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_any(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn int_any( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
tensor evaluates to True. Read more§fn int_any_dim(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim: usize,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn int_any_dim( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim: usize, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn int_all(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn int_all( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
tensor evaluate to True. Read more§fn int_all_dim(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim: usize,
out_dtype: BoolStore,
) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
fn int_all_dim( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim: usize, out_dtype: BoolStore, ) -> <Fusion<B> as BackendTypes>::BoolTensorPrimitive
§fn int_prod(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_prod( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_prod_dim(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_prod_dim( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_mean(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_mean( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_mean_dim(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_mean_dim( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_cumsum(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_cumsum( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_arange_step(
range: Range<i64>,
step: usize,
device: &<Fusion<B> as BackendTypes>::Device,
dtype: IntDType,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_arange_step( range: Range<i64>, step: usize, device: &<Fusion<B> as BackendTypes>::Device, dtype: IntDType, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_cumprod(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_cumprod( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_cummin(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_cummin( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_cummax(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_cummax( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_argmax(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_argmax( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_argtopk(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim: usize,
k: usize,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_argtopk( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim: usize, k: usize, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_topk(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim: usize,
k: usize,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_topk( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim: usize, k: usize, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_argmin(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_argmin( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_clamp(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
min: Scalar,
max: Scalar,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_clamp( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, min: Scalar, max: Scalar, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_abs(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_abs( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_into_float(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
out_dtype: FloatDType,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn int_into_float( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, out_dtype: FloatDType, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn int_swap_dims(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim1: usize,
dim2: usize,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_swap_dims( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim1: usize, dim2: usize, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_max(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_max( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_max_dim(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_max_dim( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_topk_with_indices(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim: usize,
k: usize,
) -> (<Fusion<B> as BackendTypes>::IntTensorPrimitive, <Fusion<B> as BackendTypes>::IntTensorPrimitive)
fn int_topk_with_indices( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim: usize, k: usize, ) -> (<Fusion<B> as BackendTypes>::IntTensorPrimitive, <Fusion<B> as BackendTypes>::IntTensorPrimitive)
§fn int_max_dim_with_indices(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> (<Fusion<B> as BackendTypes>::IntTensorPrimitive, <Fusion<B> as BackendTypes>::IntTensorPrimitive)
fn int_max_dim_with_indices( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> (<Fusion<B> as BackendTypes>::IntTensorPrimitive, <Fusion<B> as BackendTypes>::IntTensorPrimitive)
§fn int_min(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_min( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_max_abs(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_max_abs( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_max_abs_dim(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_max_abs_dim( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_min_dim(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_min_dim( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_min_dim_with_indices(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim: usize,
) -> (<Fusion<B> as BackendTypes>::IntTensorPrimitive, <Fusion<B> as BackendTypes>::IntTensorPrimitive)
fn int_min_dim_with_indices( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim: usize, ) -> (<Fusion<B> as BackendTypes>::IntTensorPrimitive, <Fusion<B> as BackendTypes>::IntTensorPrimitive)
§fn int_random(
shape: Shape,
distribution: Distribution,
device: &<Fusion<B> as BackendTypes>::Device,
dtype: IntDType,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_random( shape: Shape, distribution: Distribution, device: &<Fusion<B> as BackendTypes>::Device, dtype: IntDType, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_permute(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
axes: &[usize],
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_permute( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, axes: &[usize], ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_expand(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
shape: Shape,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_expand( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, shape: Shape, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
tensor to the given shape.§fn int_flip(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
axes: &[usize],
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_flip( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, axes: &[usize], ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_repeat_dim(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim: usize,
times: usize,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_repeat_dim( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim: usize, times: usize, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn bitwise_and(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn bitwise_and( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn bitwise_and_scalar(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn bitwise_and_scalar( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn bitwise_or(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn bitwise_or( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn bitwise_or_scalar(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn bitwise_or_scalar( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn bitwise_xor(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn bitwise_xor( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn bitwise_xor_scalar(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn bitwise_xor_scalar( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn bitwise_not(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn bitwise_not( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn bitwise_left_shift(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn bitwise_left_shift( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn bitwise_left_shift_scalar(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn bitwise_left_shift_scalar( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn bitwise_right_shift(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn bitwise_right_shift( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn bitwise_right_shift_scalar(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn bitwise_right_shift_scalar( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_cast(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dtype: IntDType,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_cast( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dtype: IntDType, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_unfold(
tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
dim: usize,
size: usize,
step: usize,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_unfold( tensor: <Fusion<B> as BackendTypes>::IntTensorPrimitive, dim: usize, size: usize, step: usize, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_powi(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_powi( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_powi_scalar_impl(
lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
fn int_powi_scalar_impl( lhs: <Fusion<B> as BackendTypes>::IntTensorPrimitive, rhs: Scalar, ) -> <Fusion<B> as BackendTypes>::IntTensorPrimitive
§fn int_mask_select(
tensor: <B as BackendTypes>::IntTensorPrimitive,
mask: <B as BackendTypes>::BoolTensorPrimitive,
) -> impl Future<Output = <B as BackendTypes>::IntTensorPrimitive> + Send + 'static
fn int_mask_select( tensor: <B as BackendTypes>::IntTensorPrimitive, mask: <B as BackendTypes>::BoolTensorPrimitive, ) -> impl Future<Output = <B as BackendTypes>::IntTensorPrimitive> + Send + 'static
§fn int_not_equal(
lhs: <B as BackendTypes>::IntTensorPrimitive,
rhs: <B as BackendTypes>::IntTensorPrimitive,
out_dtype: BoolStore,
) -> <B as BackendTypes>::BoolTensorPrimitive
fn int_not_equal( lhs: <B as BackendTypes>::IntTensorPrimitive, rhs: <B as BackendTypes>::IntTensorPrimitive, out_dtype: BoolStore, ) -> <B as BackendTypes>::BoolTensorPrimitive
§fn int_not_equal_elem(
lhs: <B as BackendTypes>::IntTensorPrimitive,
rhs: Scalar,
out_dtype: BoolStore,
) -> <B as BackendTypes>::BoolTensorPrimitive
fn int_not_equal_elem( lhs: <B as BackendTypes>::IntTensorPrimitive, rhs: Scalar, out_dtype: BoolStore, ) -> <B as BackendTypes>::BoolTensorPrimitive
§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
§fn int_clamp_min(
tensor: <B as BackendTypes>::IntTensorPrimitive,
min: Scalar,
) -> <B as BackendTypes>::IntTensorPrimitive
fn int_clamp_min( tensor: <B as BackendTypes>::IntTensorPrimitive, min: Scalar, ) -> <B as BackendTypes>::IntTensorPrimitive
§fn int_clamp_max(
tensor: <B as BackendTypes>::IntTensorPrimitive,
max: Scalar,
) -> <B as BackendTypes>::IntTensorPrimitive
fn int_clamp_max( tensor: <B as BackendTypes>::IntTensorPrimitive, max: Scalar, ) -> <B as BackendTypes>::IntTensorPrimitive
§fn int_neg(
tensor: <B as BackendTypes>::IntTensorPrimitive,
) -> <B as BackendTypes>::IntTensorPrimitive
fn int_neg( tensor: <B as BackendTypes>::IntTensorPrimitive, ) -> <B as BackendTypes>::IntTensorPrimitive
§fn int_transpose(
tensor: <B as BackendTypes>::IntTensorPrimitive,
) -> <B as BackendTypes>::IntTensorPrimitive
fn int_transpose( tensor: <B as BackendTypes>::IntTensorPrimitive, ) -> <B as BackendTypes>::IntTensorPrimitive
§fn int_arange(
range: Range<i64>,
device: &<B as BackendTypes>::Device,
dtype: IntDType,
) -> <B as BackendTypes>::IntTensorPrimitive
fn int_arange( range: Range<i64>, device: &<B as BackendTypes>::Device, dtype: IntDType, ) -> <B as BackendTypes>::IntTensorPrimitive
§fn int_sign(
tensor: <B as BackendTypes>::IntTensorPrimitive,
) -> <B as BackendTypes>::IntTensorPrimitive
fn int_sign( tensor: <B as BackendTypes>::IntTensorPrimitive, ) -> <B as BackendTypes>::IntTensorPrimitive
tensor. Read more§fn int_sort(
tensor: <B as BackendTypes>::IntTensorPrimitive,
dim: usize,
descending: bool,
) -> <B as BackendTypes>::IntTensorPrimitive
fn int_sort( tensor: <B as BackendTypes>::IntTensorPrimitive, dim: usize, descending: bool, ) -> <B as BackendTypes>::IntTensorPrimitive
tensor by value along a given dimension. Read more§fn int_sort_with_indices(
tensor: <B as BackendTypes>::IntTensorPrimitive,
dim: usize,
descending: bool,
) -> (<B as BackendTypes>::IntTensorPrimitive, <B as BackendTypes>::IntTensorPrimitive)
fn int_sort_with_indices( tensor: <B as BackendTypes>::IntTensorPrimitive, dim: usize, descending: bool, ) -> (<B as BackendTypes>::IntTensorPrimitive, <B as BackendTypes>::IntTensorPrimitive)
tensor by value along a given dimension. Read more§fn int_argsort(
tensor: <B as BackendTypes>::IntTensorPrimitive,
dim: usize,
descending: bool,
) -> <B as BackendTypes>::IntTensorPrimitive
fn int_argsort( tensor: <B as BackendTypes>::IntTensorPrimitive, dim: usize, descending: bool, ) -> <B as BackendTypes>::IntTensorPrimitive
tensor by value
along a given dimension. Read more§impl<B> IntVisionOps for Fusion<B>where
B: FusionBackend + IntVisionOps,
Available on crate feature fusion only.
impl<B> IntVisionOps for Fusion<B>where
B: FusionBackend + IntVisionOps,
fusion only.§fn int_erode(
input: Self::IntTensorPrimitive,
kernel: Self::BoolTensorPrimitive,
opts: MorphOptions,
) -> Self::IntTensorPrimitive
fn int_erode( input: Self::IntTensorPrimitive, kernel: Self::BoolTensorPrimitive, opts: MorphOptions, ) -> Self::IntTensorPrimitive
§fn int_dilate(
input: Self::IntTensorPrimitive,
kernel: Self::BoolTensorPrimitive,
opts: MorphOptions,
) -> Self::IntTensorPrimitive
fn int_dilate( input: Self::IntTensorPrimitive, kernel: Self::BoolTensorPrimitive, opts: MorphOptions, ) -> Self::IntTensorPrimitive
§impl<B> LinalgOps for Fusion<B>where
B: FusionBackend + LinalgOps,
Available on crate feature fusion only.
impl<B> LinalgOps for Fusion<B>where
B: FusionBackend + LinalgOps,
fusion only.§fn svd(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
sweeps: usize,
swap: bool,
) -> (<Fusion<B> as BackendTypes>::FloatTensorPrimitive, <Fusion<B> as BackendTypes>::FloatTensorPrimitive, <Fusion<B> as BackendTypes>::FloatTensorPrimitive)
fn svd( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, sweeps: usize, swap: bool, ) -> (<Fusion<B> as BackendTypes>::FloatTensorPrimitive, <Fusion<B> as BackendTypes>::FloatTensorPrimitive, <Fusion<B> as BackendTypes>::FloatTensorPrimitive)
§impl<B> ModuleOps<Fusion<B>> for Fusion<B>where
B: FusionBackend,
impl<B> ModuleOps<Fusion<B>> for Fusion<B>where
B: FusionBackend,
§fn conv1d(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
bias: Option<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>,
options: ConvOptions<1>,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn conv1d( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, bias: Option<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>, options: ConvOptions<1>, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn conv1d_x_backward(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
options: ConvOptions<1>,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn conv1d_x_backward( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, options: ConvOptions<1>, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
x.§fn conv1d_weight_backward(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
options: ConvOptions<1>,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn conv1d_weight_backward( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, options: ConvOptions<1>, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
weight.§fn conv1d_bias_backward(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
bias: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn conv1d_bias_backward( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, bias: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
bias.§fn conv2d(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
bias: Option<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>,
options: ConvOptions<2>,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn conv2d( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, bias: Option<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>, options: ConvOptions<2>, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn conv2d_x_backward(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
options: ConvOptions<2>,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn conv2d_x_backward( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, options: ConvOptions<2>, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
x.§fn conv2d_weight_backward(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
options: ConvOptions<2>,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn conv2d_weight_backward( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, options: ConvOptions<2>, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
weight.§fn conv2d_bias_backward(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
bias: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn conv2d_bias_backward( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, bias: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
bias.§fn deform_conv2d(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
offset: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
mask: Option<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>,
bias: Option<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>,
options: DeformConvOptions<2>,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn deform_conv2d( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, offset: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, mask: Option<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>, bias: Option<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>, options: DeformConvOptions<2>, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn deform_conv2d_backward(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
offset: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
mask: Option<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>,
bias: Option<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>,
output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
options: DeformConvOptions<2>,
) -> DeformConv2dBackward<Fusion<B>>
fn deform_conv2d_backward( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, offset: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, mask: Option<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>, bias: Option<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>, output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, options: DeformConvOptions<2>, ) -> DeformConv2dBackward<Fusion<B>>
§fn conv3d(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
bias: Option<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>,
options: ConvOptions<3>,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn conv3d( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, bias: Option<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>, options: ConvOptions<3>, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn conv3d_x_backward(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
options: ConvOptions<3>,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn conv3d_x_backward( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, options: ConvOptions<3>, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
x.§fn conv3d_weight_backward(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
options: ConvOptions<3>,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn conv3d_weight_backward( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, options: ConvOptions<3>, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
weight.§fn conv3d_bias_backward(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
bias: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn conv3d_bias_backward( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, bias: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
bias.§fn conv_transpose1d(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
bias: Option<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>,
options: ConvTransposeOptions<1>,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn conv_transpose1d( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, bias: Option<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>, options: ConvTransposeOptions<1>, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn conv_transpose2d(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
bias: Option<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>,
options: ConvTransposeOptions<2>,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn conv_transpose2d( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, bias: Option<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>, options: ConvTransposeOptions<2>, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn conv_transpose3d(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
bias: Option<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>,
options: ConvTransposeOptions<3>,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn conv_transpose3d( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, weight: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, bias: Option<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>, options: ConvTransposeOptions<3>, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn avg_pool1d(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
kernel_size: usize,
stride: usize,
padding: usize,
count_include_pad: bool,
ceil_mode: bool,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn avg_pool1d( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, kernel_size: usize, stride: usize, padding: usize, count_include_pad: bool, ceil_mode: bool, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn avg_pool2d(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
kernel_size: [usize; 2],
stride: [usize; 2],
padding: [usize; 2],
count_include_pad: bool,
ceil_mode: bool,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn avg_pool2d( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, kernel_size: [usize; 2], stride: [usize; 2], padding: [usize; 2], count_include_pad: bool, ceil_mode: bool, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn avg_pool1d_backward(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
kernel_size: usize,
stride: usize,
padding: usize,
count_include_pad: bool,
ceil_mode: bool,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn avg_pool1d_backward( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, kernel_size: usize, stride: usize, padding: usize, count_include_pad: bool, ceil_mode: bool, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn avg_pool2d_backward(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
kernel_size: [usize; 2],
stride: [usize; 2],
padding: [usize; 2],
count_include_pad: bool,
ceil_mode: bool,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn avg_pool2d_backward( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, kernel_size: [usize; 2], stride: [usize; 2], padding: [usize; 2], count_include_pad: bool, ceil_mode: bool, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn max_pool1d(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
kernel_size: usize,
stride: usize,
padding: usize,
dilation: usize,
ceil_mode: bool,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn max_pool1d( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, kernel_size: usize, stride: usize, padding: usize, dilation: usize, ceil_mode: bool, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn max_pool2d(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
kernel_size: [usize; 2],
stride: [usize; 2],
padding: [usize; 2],
dilation: [usize; 2],
ceil_mode: bool,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn max_pool2d( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, kernel_size: [usize; 2], stride: [usize; 2], padding: [usize; 2], dilation: [usize; 2], ceil_mode: bool, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn max_pool1d_with_indices(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
kernel_size: usize,
stride: usize,
padding: usize,
dilation: usize,
ceil_mode: bool,
indices_dtype: IntDType,
) -> MaxPool1dWithIndices<Fusion<B>>
fn max_pool1d_with_indices( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, kernel_size: usize, stride: usize, padding: usize, dilation: usize, ceil_mode: bool, indices_dtype: IntDType, ) -> MaxPool1dWithIndices<Fusion<B>>
§fn max_pool2d_with_indices(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
kernel_size: [usize; 2],
stride: [usize; 2],
padding: [usize; 2],
dilation: [usize; 2],
ceil_mode: bool,
indices_dtype: IntDType,
) -> MaxPool2dWithIndices<Fusion<B>>
fn max_pool2d_with_indices( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, kernel_size: [usize; 2], stride: [usize; 2], padding: [usize; 2], dilation: [usize; 2], ceil_mode: bool, indices_dtype: IntDType, ) -> MaxPool2dWithIndices<Fusion<B>>
§fn max_pool1d_with_indices_backward(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
kernel_size: usize,
stride: usize,
padding: usize,
dilation: usize,
ceil_mode: bool,
output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> MaxPool1dBackward<Fusion<B>>
fn max_pool1d_with_indices_backward( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, kernel_size: usize, stride: usize, padding: usize, dilation: usize, ceil_mode: bool, output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> MaxPool1dBackward<Fusion<B>>
§fn max_pool2d_with_indices_backward(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
kernel_size: [usize; 2],
stride: [usize; 2],
padding: [usize; 2],
dilation: [usize; 2],
ceil_mode: bool,
output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> MaxPool2dBackward<Fusion<B>>
fn max_pool2d_with_indices_backward( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, kernel_size: [usize; 2], stride: [usize; 2], padding: [usize; 2], dilation: [usize; 2], ceil_mode: bool, output_grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> MaxPool2dBackward<Fusion<B>>
§fn adaptive_avg_pool1d(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
output_size: usize,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn adaptive_avg_pool1d( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, output_size: usize, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn adaptive_avg_pool2d(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
output_size: [usize; 2],
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn adaptive_avg_pool2d( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, output_size: [usize; 2], ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn adaptive_avg_pool1d_backward(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn adaptive_avg_pool1d_backward( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn adaptive_avg_pool2d_backward(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn adaptive_avg_pool2d_backward( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn adaptive_avg_pool3d(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
output_size: [usize; 3],
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn adaptive_avg_pool3d( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, output_size: [usize; 3], ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn adaptive_avg_pool3d_backward(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn adaptive_avg_pool3d_backward( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn interpolate(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
output_size: [usize; 2],
options: InterpolateOptions,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn interpolate( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, output_size: [usize; 2], options: InterpolateOptions, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn interpolate_backward(
x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
output_size: [usize; 2],
options: InterpolateOptions,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn interpolate_backward( x: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, grad: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, output_size: [usize; 2], options: InterpolateOptions, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn attention(
query: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
key: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
value: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
mask: Option<<Fusion<B> as BackendTypes>::BoolTensorPrimitive>,
attn_bias: Option<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>,
options: AttentionModuleOptions,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn attention( query: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, key: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, value: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, mask: Option<<Fusion<B> as BackendTypes>::BoolTensorPrimitive>, attn_bias: Option<<Fusion<B> as BackendTypes>::FloatTensorPrimitive>, options: AttentionModuleOptions, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn has_ctc_loss_backward() -> bool
fn has_ctc_loss_backward() -> bool
§fn ctc_loss(
log_probs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
targets: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
input_lengths: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
target_lengths: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
blank: usize,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn ctc_loss( log_probs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, targets: <Fusion<B> as BackendTypes>::IntTensorPrimitive, input_lengths: <Fusion<B> as BackendTypes>::IntTensorPrimitive, target_lengths: <Fusion<B> as BackendTypes>::IntTensorPrimitive, blank: usize, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn ctc_loss_backward(
log_probs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
targets: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
input_lengths: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
target_lengths: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
grad_loss: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
blank: usize,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn ctc_loss_backward( log_probs: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, targets: <Fusion<B> as BackendTypes>::IntTensorPrimitive, input_lengths: <Fusion<B> as BackendTypes>::IntTensorPrimitive, target_lengths: <Fusion<B> as BackendTypes>::IntTensorPrimitive, grad_loss: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, blank: usize, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn batch_norm(
x: <B as BackendTypes>::FloatTensorPrimitive,
gamma: <B as BackendTypes>::FloatTensorPrimitive,
beta: <B as BackendTypes>::FloatTensorPrimitive,
mean: <B as BackendTypes>::FloatTensorPrimitive,
variance: <B as BackendTypes>::FloatTensorPrimitive,
epsilon: f64,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn batch_norm( x: <B as BackendTypes>::FloatTensorPrimitive, gamma: <B as BackendTypes>::FloatTensorPrimitive, beta: <B as BackendTypes>::FloatTensorPrimitive, mean: <B as BackendTypes>::FloatTensorPrimitive, variance: <B as BackendTypes>::FloatTensorPrimitive, epsilon: f64, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn batch_norm_train(
x: <B as BackendTypes>::FloatTensorPrimitive,
gamma: <B as BackendTypes>::FloatTensorPrimitive,
beta: <B as BackendTypes>::FloatTensorPrimitive,
epsilon: f64,
) -> BatchNormTrain<B>
fn batch_norm_train( x: <B as BackendTypes>::FloatTensorPrimitive, gamma: <B as BackendTypes>::FloatTensorPrimitive, beta: <B as BackendTypes>::FloatTensorPrimitive, epsilon: f64, ) -> BatchNormTrain<B>
§fn batch_norm_train_backward(
x: <B as BackendTypes>::FloatTensorPrimitive,
gamma: <B as BackendTypes>::FloatTensorPrimitive,
mean: <B as BackendTypes>::FloatTensorPrimitive,
variance: <B as BackendTypes>::FloatTensorPrimitive,
epsilon: f64,
output_grad: <B as BackendTypes>::FloatTensorPrimitive,
) -> BatchNormTrainBackward<B>
fn batch_norm_train_backward( x: <B as BackendTypes>::FloatTensorPrimitive, gamma: <B as BackendTypes>::FloatTensorPrimitive, mean: <B as BackendTypes>::FloatTensorPrimitive, variance: <B as BackendTypes>::FloatTensorPrimitive, epsilon: f64, output_grad: <B as BackendTypes>::FloatTensorPrimitive, ) -> BatchNormTrainBackward<B>
gamma and beta, given the gradient of its
output. mean and variance are the statistics it returned.§fn embedding(
weights: <B as BackendTypes>::FloatTensorPrimitive,
indices: <B as BackendTypes>::IntTensorPrimitive,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn embedding( weights: <B as BackendTypes>::FloatTensorPrimitive, indices: <B as BackendTypes>::IntTensorPrimitive, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn embedding_backward(
weights: <B as BackendTypes>::FloatTensorPrimitive,
output_grad: <B as BackendTypes>::FloatTensorPrimitive,
indices: <B as BackendTypes>::IntTensorPrimitive,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn embedding_backward( weights: <B as BackendTypes>::FloatTensorPrimitive, output_grad: <B as BackendTypes>::FloatTensorPrimitive, indices: <B as BackendTypes>::IntTensorPrimitive, ) -> <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: <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 conv_transpose1d_x_backward(
weight: <B as BackendTypes>::FloatTensorPrimitive,
output_grad: <B as BackendTypes>::FloatTensorPrimitive,
options: ConvTransposeOptions<1>,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn conv_transpose1d_x_backward( weight: <B as BackendTypes>::FloatTensorPrimitive, output_grad: <B as BackendTypes>::FloatTensorPrimitive, options: ConvTransposeOptions<1>, ) -> <B as BackendTypes>::FloatTensorPrimitive
x.§fn conv_transpose1d_weight_backward(
x: <B as BackendTypes>::FloatTensorPrimitive,
weight: <B as BackendTypes>::FloatTensorPrimitive,
output_grad: <B as BackendTypes>::FloatTensorPrimitive,
options: ConvTransposeOptions<1>,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn conv_transpose1d_weight_backward( x: <B as BackendTypes>::FloatTensorPrimitive, weight: <B as BackendTypes>::FloatTensorPrimitive, output_grad: <B as BackendTypes>::FloatTensorPrimitive, options: ConvTransposeOptions<1>, ) -> <B as BackendTypes>::FloatTensorPrimitive
weight.§fn conv_transpose1d_bias_backward(
x: <B as BackendTypes>::FloatTensorPrimitive,
bias: <B as BackendTypes>::FloatTensorPrimitive,
output_grad: <B as BackendTypes>::FloatTensorPrimitive,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn conv_transpose1d_bias_backward( x: <B as BackendTypes>::FloatTensorPrimitive, bias: <B as BackendTypes>::FloatTensorPrimitive, output_grad: <B as BackendTypes>::FloatTensorPrimitive, ) -> <B as BackendTypes>::FloatTensorPrimitive
bias.§fn conv_transpose2d_x_backward(
weight: <B as BackendTypes>::FloatTensorPrimitive,
output_grad: <B as BackendTypes>::FloatTensorPrimitive,
options: ConvTransposeOptions<2>,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn conv_transpose2d_x_backward( weight: <B as BackendTypes>::FloatTensorPrimitive, output_grad: <B as BackendTypes>::FloatTensorPrimitive, options: ConvTransposeOptions<2>, ) -> <B as BackendTypes>::FloatTensorPrimitive
x.§fn conv_transpose2d_weight_backward(
x: <B as BackendTypes>::FloatTensorPrimitive,
weight: <B as BackendTypes>::FloatTensorPrimitive,
output_grad: <B as BackendTypes>::FloatTensorPrimitive,
options: ConvTransposeOptions<2>,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn conv_transpose2d_weight_backward( x: <B as BackendTypes>::FloatTensorPrimitive, weight: <B as BackendTypes>::FloatTensorPrimitive, output_grad: <B as BackendTypes>::FloatTensorPrimitive, options: ConvTransposeOptions<2>, ) -> <B as BackendTypes>::FloatTensorPrimitive
weight.§fn conv_transpose2d_bias_backward(
x: <B as BackendTypes>::FloatTensorPrimitive,
bias: <B as BackendTypes>::FloatTensorPrimitive,
output_grad: <B as BackendTypes>::FloatTensorPrimitive,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn conv_transpose2d_bias_backward( x: <B as BackendTypes>::FloatTensorPrimitive, bias: <B as BackendTypes>::FloatTensorPrimitive, output_grad: <B as BackendTypes>::FloatTensorPrimitive, ) -> <B as BackendTypes>::FloatTensorPrimitive
bias.§fn conv_transpose3d_x_backward(
weight: <B as BackendTypes>::FloatTensorPrimitive,
output_grad: <B as BackendTypes>::FloatTensorPrimitive,
options: ConvTransposeOptions<3>,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn conv_transpose3d_x_backward( weight: <B as BackendTypes>::FloatTensorPrimitive, output_grad: <B as BackendTypes>::FloatTensorPrimitive, options: ConvTransposeOptions<3>, ) -> <B as BackendTypes>::FloatTensorPrimitive
x.§fn conv_transpose3d_weight_backward(
x: <B as BackendTypes>::FloatTensorPrimitive,
weight: <B as BackendTypes>::FloatTensorPrimitive,
output_grad: <B as BackendTypes>::FloatTensorPrimitive,
options: ConvTransposeOptions<3>,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn conv_transpose3d_weight_backward( x: <B as BackendTypes>::FloatTensorPrimitive, weight: <B as BackendTypes>::FloatTensorPrimitive, output_grad: <B as BackendTypes>::FloatTensorPrimitive, options: ConvTransposeOptions<3>, ) -> <B as BackendTypes>::FloatTensorPrimitive
weight.§fn conv_transpose3d_bias_backward(
x: <B as BackendTypes>::FloatTensorPrimitive,
bias: <B as BackendTypes>::FloatTensorPrimitive,
output_grad: <B as BackendTypes>::FloatTensorPrimitive,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn conv_transpose3d_bias_backward( x: <B as BackendTypes>::FloatTensorPrimitive, bias: <B as BackendTypes>::FloatTensorPrimitive, output_grad: <B as BackendTypes>::FloatTensorPrimitive, ) -> <B as BackendTypes>::FloatTensorPrimitive
bias.§fn unfold4d(
x: <B as BackendTypes>::FloatTensorPrimitive,
kernel_size: [usize; 2],
options: UnfoldOptions,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn unfold4d( x: <B as BackendTypes>::FloatTensorPrimitive, 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
fn fold4d( x: <B as BackendTypes>::FloatTensorPrimitive, output_size: [usize; 2], kernel_size: [usize; 2], options: UnfoldOptions, ) -> <B as BackendTypes>::FloatTensorPrimitive
§fn layer_norm(
tensor: <B as BackendTypes>::FloatTensorPrimitive,
gamma: <B as BackendTypes>::FloatTensorPrimitive,
beta: Option<<B as BackendTypes>::FloatTensorPrimitive>,
epsilon: f64,
) -> <B as BackendTypes>::FloatTensorPrimitive
fn layer_norm( tensor: <B as BackendTypes>::FloatTensorPrimitive, gamma: <B as BackendTypes>::FloatTensorPrimitive, beta: Option<<B as BackendTypes>::FloatTensorPrimitive>, epsilon: f64, ) -> <B as BackendTypes>::FloatTensorPrimitive
§impl<B> QTensorOps<Fusion<B>> for Fusion<B>where
B: FusionBackend,
impl<B> QTensorOps<Fusion<B>> for Fusion<B>where
B: FusionBackend,
§fn q_from_data(
data: TensorData,
device: &<Fusion<B> as BackendTypes>::Device,
) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
fn q_from_data( data: TensorData, device: &<Fusion<B> as BackendTypes>::Device, ) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
§fn quantize(
tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
scheme: &QuantScheme,
qparams: QuantizationParametersPrimitive<Fusion<B>>,
) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
fn quantize( tensor: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, scheme: &QuantScheme, qparams: QuantizationParametersPrimitive<Fusion<B>>, ) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
§fn dequantize(
tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive,
dtype: FloatDType,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn dequantize( tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive, dtype: FloatDType, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
§fn q_to_device(
tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive,
device_dst: &<Fusion<B> as BackendTypes>::Device,
) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
fn q_to_device( tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive, device_dst: &<Fusion<B> as BackendTypes>::Device, ) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
§fn q_reshape(
tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive,
shape: Shape,
) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
fn q_reshape( tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive, shape: Shape, ) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
§async fn q_into_data(
tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive,
) -> Result<TensorData, ExecutionError>
async fn q_into_data( tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive, ) -> Result<TensorData, ExecutionError>
§fn q_swap_dims(
tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive,
dim1: usize,
dim2: usize,
) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
fn q_swap_dims( tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive, dim1: usize, dim2: usize, ) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
§fn q_permute(
tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive,
axes: &[usize],
) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
fn q_permute( tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive, axes: &[usize], ) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
§fn q_flip(
tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive,
axes: &[usize],
) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
fn q_flip( tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive, axes: &[usize], ) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
§fn q_gather(
dim: usize,
tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive,
indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
fn q_gather( dim: usize, tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive, indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
§fn q_select(
tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive,
dim: usize,
indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive,
) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
fn q_select( tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive, dim: usize, indices: <Fusion<B> as BackendTypes>::IntTensorPrimitive, ) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
§fn q_slice(
tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive,
slices: &[Slice],
) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
fn q_slice( tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive, slices: &[Slice], ) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
§fn q_expand(
tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive,
shape: Shape,
) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
fn q_expand( tensor: <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive, shape: Shape, ) -> <Fusion<B> as BackendTypes>::QuantizedTensorPrimitive
tensor to the given shape.§fn q_matmul(
lhs: TensorPrimitive<Fusion<B>>,
rhs: TensorPrimitive<Fusion<B>>,
) -> TensorPrimitive<Fusion<B>>
fn q_matmul( lhs: TensorPrimitive<Fusion<B>>, rhs: TensorPrimitive<Fusion<B>>, ) -> TensorPrimitive<Fusion<B>>
§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_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<B> SignalOps for Fusion<B>where
B: FusionBackend + SignalOps,
impl<B> SignalOps for Fusion<B>where
B: FusionBackend + SignalOps,
§fn rfft(
signal: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
n: Option<usize>,
) -> (<Fusion<B> as BackendTypes>::FloatTensorPrimitive, <Fusion<B> as BackendTypes>::FloatTensorPrimitive)
fn rfft( signal: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, n: Option<usize>, ) -> (<Fusion<B> as BackendTypes>::FloatTensorPrimitive, <Fusion<B> as BackendTypes>::FloatTensorPrimitive)
dim, truncating or padding to n when supplied.
Returns the real and imaginary components of the one-sided spectrum.§fn irfft(
real: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
imag: <Fusion<B> as BackendTypes>::FloatTensorPrimitive,
dim: usize,
n: Option<usize>,
) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
fn irfft( real: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, imag: <Fusion<B> as BackendTypes>::FloatTensorPrimitive, dim: usize, n: Option<usize>, ) -> <Fusion<B> as BackendTypes>::FloatTensorPrimitive
dim, with optional output length n.§impl<B> TransactionOps<Fusion<B>> for Fusion<B>where
B: FusionBackend,
impl<B> TransactionOps<Fusion<B>> for Fusion<B>where
B: FusionBackend,
§async fn tr_execute(
transaction: TransactionPrimitive<Fusion<B>>,
) -> Result<TransactionPrimitiveData, ExecutionError>
async fn tr_execute( transaction: TransactionPrimitive<Fusion<B>>, ) -> Result<TransactionPrimitiveData, ExecutionError>
impl<B> VisionBackend for Fusion<B>where
B: FusionBackend + VisionBackend,
fusion only.Auto Trait Implementations§
impl<B> Freeze for Fusion<B>
impl<B> RefUnwindSafe for Fusion<B>where
B: RefUnwindSafe,
impl<B> Send for Fusion<B>
impl<B> Sync for Fusion<B>
impl<B> Unpin for Fusion<B>where
B: Unpin,
impl<B> UnsafeUnpin for Fusion<B>
impl<B> UnwindSafe for Fusion<B>where
B: UnwindSafe,
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().