Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/huggingface/transformers.js
/ mean
Method
mean
packages/transformers/src/utils/tensor.js:774–776 ·
view source on GitHub ↗
(dim = null, keepdim = false)
Source
from the content-addressed store, hash-verified
772
}
773
774
mean(dim = null, keepdim = false) {
775
return
mean(this, dim, keepdim);
776
}
777
778
min(dim = null, keepdim = false) {
779
if
(dim === null) {
Callers
15
_call
Method · 0.80
tensor.test.js
File · 0.80
test_pipelines_image_feature_extraction.js
File · 0.80
test_pipelines_depth_estimation.js
File · 0.80
test_pipelines_feature_extraction.js
File · 0.80
test_image_processing_lfm2_vl.js
File · 0.80
test_image_processing_deit.js
File · 0.80
test_image_processing_beit.js
File · 0.80
test_feature_extraction_voxtral_realtime.js
File · 0.80
test_processor_voxtral_realtime.js
File · 0.80
test_image_processing_nougat.js
File · 0.80
test_feature_extraction_audio_spectrogram_transformer.js
File · 0.80
Calls
1
mean
Function · 0.85
Tested by
no test coverage detected