MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / identity

Method identity

tensorflow/core/kernels/reduction_ops.h:123–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121template <typename Reducer>
122struct Identity {
123 static auto identity(const Reducer& reducer)
124 -> decltype(reducer.initialize()) {
125 return reducer.initialize();
126 }
127};
128
129// MeanReducer is a special case, since it doesn't technically have an identity.

Callers 15

_step_fnFunction · 0.45
dynamic_rnnFunction · 0.45
static_state_saving_rnnFunction · 0.45
dynamic_rnnFunction · 0.45
static_state_saving_rnnFunction · 0.45
dynamic_rnnFunction · 0.45
static_state_saving_rnnFunction · 0.45
dynamic_rnnFunction · 0.45
static_state_saving_rnnFunction · 0.45

Calls 1

initializeMethod · 0.65

Tested by 15

__init__Method · 0.36
__init__Method · 0.36
__init__Method · 0.36
_test_train_model_fnFunction · 0.36
model_fn_with_summaryMethod · 0.36
_fnMethod · 0.36
testForwardInverseMethod · 0.36
testBijectorMethod · 0.36
testBijectorMethod · 0.36