pub struct TensorRfConfig {
pub rank: usize,
pub grid_dim: usize,
pub n_color_feat: usize,
}Expand description
Configuration for TensoRF CP decomposition.
Fields§
§rank: usizeR — number of CP rank components.
grid_dim: usizeGrid resolution per axis.
n_color_feat: usizeNumber of output color features.
Trait Implementations§
Source§impl Clone for TensorRfConfig
impl Clone for TensorRfConfig
Source§fn clone(&self) -> TensorRfConfig
fn clone(&self) -> TensorRfConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TensorRfConfig
impl RefUnwindSafe for TensorRfConfig
impl Send for TensorRfConfig
impl Sync for TensorRfConfig
impl Unpin for TensorRfConfig
impl UnsafeUnpin for TensorRfConfig
impl UnwindSafe for TensorRfConfig
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
Mutably borrows from an owned value. Read more