Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ scalar
Method
scalar
tensorflow/core/framework/tensor.h:879–882 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
877
878
template <typename T>
879
typename TTypes<T>::Scalar Tensor::scalar() {
880
CheckIsAlignedAndSingleElement();
881
return typename TTypes<T>::Scalar(base<T>());
882
}
883
884
#ifdef USE_TSTRING
885
template <>
Callers
15
_add_layer_summary
Method · 0.45
_create_loss
Method · 0.45
_create_metrics
Method · 0.45
_add_layer_summary
Method · 0.45
_create_loss
Method · 0.45
_create_metrics
Method · 0.45
_add_layer_summary
Method · 0.45
_create_loss
Method · 0.45
_create_metrics
Method · 0.45
_add_layer_summary
Method · 0.45
_create_loss
Method · 0.45
_create_metrics
Method · 0.45
Calls
1
Scalar
Function · 0.85
Tested by
15
testClassicSummaryOpsErrorOut
Method · 0.36
fit
Function · 0.36
compute_gradients
Function · 0.36
testTrainWithSummary
Method · 0.36
compute_gradients
Function · 0.36
model_fn_with_summary
Method · 0.36
model_fn_with_summary
Method · 0.36
testSummaryOps
Method · 0.36
testSummaryName
Method · 0.36
testSummaryNameScope
Method · 0.36
testSummaryGlobalStep
Method · 0.36
testMaxQueue
Method · 0.36