mirror of
https://github.com/huggingface/candle.git
synced 2025-06-18 03:28:50 +00:00
Move the variable creation to the variable module. (#159)
* Move the variable creation to the variable module. * Make it possible to set a variable. * Add some basic gradient descent test. * Get the gradient descent test to work.
This commit is contained in:
@ -68,7 +68,7 @@ pub use shape::{Shape, D};
|
||||
pub use storage::Storage;
|
||||
use strided_index::StridedIndex;
|
||||
pub use tensor::{Tensor, TensorId};
|
||||
pub use variable::Variable;
|
||||
pub use variable::Var;
|
||||
|
||||
#[cfg(feature = "cuda")]
|
||||
pub use cuda_backend::{CudaDevice, CudaStorage};
|
||||
|
Reference in New Issue
Block a user