MCPcopy Create free account
hub / github.com/Rust-GPU/rust-cuda / data

Method data

crates/cudnn/src/tensor/mod.rs:28–30  ·  view source on GitHub ↗

Returns a reference to the tensor's underlying data.

(&self)

Source from the content-addressed store, hash-verified

26{
27 /// Returns a reference to the tensor's underlying data.
28 pub fn data(&self) -> &V {
29 &self.data
30 }
31
32 /// Returns a reference to the tensor's descriptor.
33 pub fn descriptor(&self) -> &TensorDescriptor<T, F, D> {

Callers 8

binary_tensor_opMethod · 0.45
unary_tensor_opMethod · 0.45
add_assignMethod · 0.45
dropout_forwardMethod · 0.45
dropout_backwardMethod · 0.45
convolution_forwardMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected