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

Method is_valid

tensorflow/core/kernels/bias_op_gpu.h:64–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62class BiasGradGPUProfileResult {
63 public:
64 bool is_valid() const {
65 return (algorithm_ != BiasAddGradGPUMode::kInvalid &&
66 elapsed_time_ != std::numeric_limits<float>::max());
67 }
68 BiasAddGradGPUMode algorithm() const { return algorithm_; }
69 void set_algorithm(BiasAddGradGPUMode val) { algorithm_ = val; }
70 uint64 elapsed_time() const { return elapsed_time_; }

Callers 14

launchMethod · 0.45
DoUncachedGemmAutotuneFunction · 0.45
operator()Method · 0.45
ComputeMethod · 0.45
ComputeMethod · 0.45
operator()Method · 0.45
MaybeAutoTuneMethod · 0.45
AutotuneMatmulFunction · 0.45

Calls 1

maxFunction · 0.50

Tested by

no test coverage detected