Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ k
Method
k
dlib/cuda/tensor.h:61–61 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
59
60
long long num_samples() const { return m_n; }
61
long long k() const { return m_k; }
62
long long nr() const { return m_nr; }
63
long long nc() const { return m_nc; }
64
size_t size() const { return m_size; }
Callers
15
test_layer_normalize
Function · 0.45
test_rms_normalize
Function · 0.45
test_conv
Function · 0.45
test_more_ops2
Function · 0.45
test_max_pool
Function · 0.45
test_avg_pool
Function · 0.45
tensor_read_cpu
Function · 0.45
test_copy_tensor_cpu
Function · 0.45
test_copy_tensor_add_to_cpu
Function · 0.45
test_copy_tensor_slice_cpu
Function · 0.45
test_copy_tensor_slice_add_to_cpu
Function · 0.45
test_copy_tensor_gpu
Function · 0.45
Calls
no outgoing calls
Tested by
15
test_layer_normalize
Function · 0.36
test_rms_normalize
Function · 0.36
test_conv
Function · 0.36
test_more_ops2
Function · 0.36
test_max_pool
Function · 0.36
test_avg_pool
Function · 0.36
tensor_read_cpu
Function · 0.36
test_copy_tensor_cpu
Function · 0.36
test_copy_tensor_add_to_cpu
Function · 0.36
test_copy_tensor_slice_cpu
Function · 0.36
test_copy_tensor_slice_add_to_cpu
Function · 0.36
test_copy_tensor_gpu
Function · 0.36