MCPcopy 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
878template <typename T>
879typename TTypes<T>::Scalar Tensor::scalar() {
880 CheckIsAlignedAndSingleElement();
881 return typename TTypes<T>::Scalar(base<T>());
882}
883
884#ifdef USE_TSTRING
885template <>

Callers 15

_add_layer_summaryMethod · 0.45
_create_lossMethod · 0.45
_create_metricsMethod · 0.45
_add_layer_summaryMethod · 0.45
_create_lossMethod · 0.45
_create_metricsMethod · 0.45
_add_layer_summaryMethod · 0.45
_create_lossMethod · 0.45
_create_metricsMethod · 0.45
_add_layer_summaryMethod · 0.45
_create_lossMethod · 0.45
_create_metricsMethod · 0.45

Calls 1

ScalarFunction · 0.85

Tested by 15

fitFunction · 0.36
compute_gradientsFunction · 0.36
testTrainWithSummaryMethod · 0.36
compute_gradientsFunction · 0.36
model_fn_with_summaryMethod · 0.36
model_fn_with_summaryMethod · 0.36
testSummaryOpsMethod · 0.36
testSummaryNameMethod · 0.36
testSummaryNameScopeMethod · 0.36
testSummaryGlobalStepMethod · 0.36
testMaxQueueMethod · 0.36