mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 10:38:54 +00:00
Remove some dead-code pragmas. (#137)
This commit is contained in:
@ -1,16 +1,8 @@
|
||||
use super::*;
|
||||
use candle::{DType, Device, Result, Shape, Tensor};
|
||||
use candle::{Device, Result, Tensor};
|
||||
use std::collections::HashMap;
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[derive(Clone)]
|
||||
struct NamedVar {
|
||||
path: String,
|
||||
dtype: DType,
|
||||
shape: Shape,
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct VarBuilder {
|
||||
path: Vec<String>,
|
||||
|
Reference in New Issue
Block a user