Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ num_samples
Method
num_samples
dlib/cuda/tensor.h:60–60 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
58
virtual ~tensor() {}
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; }
Callers
15
test_batch_normalize
Function · 0.45
test_batch_normalize_conv
Function · 0.45
test_layer_normalize
Function · 0.45
test_rms_normalize
Function · 0.45
test_adaptive_computation_time_network
Function · 0.45
test_basic_tensor_ops
Function · 0.45
test_max_pool
Function · 0.45
test_avg_pool
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
Calls
no outgoing calls
Tested by
15
test_batch_normalize
Function · 0.36
test_batch_normalize_conv
Function · 0.36
test_layer_normalize
Function · 0.36
test_rms_normalize
Function · 0.36
test_adaptive_computation_time_network
Function · 0.36
test_basic_tensor_ops
Function · 0.36
test_max_pool
Function · 0.36
test_avg_pool
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