mirror of
https://github.com/huggingface/candle.git
synced 2025-06-21 04:10:46 +00:00
Revert public EncoderParam
This commit is contained in:
@ -47,7 +47,7 @@ fn set_param<P: EncoderParam>(encoder: &ComputeCommandEncoderRef, position: u64,
|
|||||||
/// Helper functions to create the various objects on the compute command encoder
|
/// Helper functions to create the various objects on the compute command encoder
|
||||||
/// on a single line.
|
/// on a single line.
|
||||||
/// Prevents getting wrong some arguments number and mixing length and size in bytes.
|
/// Prevents getting wrong some arguments number and mixing length and size in bytes.
|
||||||
pub trait EncoderParam {
|
trait EncoderParam {
|
||||||
fn set_param(encoder: &ComputeCommandEncoderRef, position: u64, data: Self);
|
fn set_param(encoder: &ComputeCommandEncoderRef, position: u64, data: Self);
|
||||||
}
|
}
|
||||||
macro_rules! primitive {
|
macro_rules! primitive {
|
||||||
|
Reference in New Issue
Block a user