| 586 | } |
| 587 | |
| 588 | Algorithm* PoolingForwardImpl::get_algorithm_heuristic( |
| 589 | const TensorLayout& /*src*/, const TensorLayout& /*dst*/, |
| 590 | size_t /*workspace_limit_in_bytes*/, const AlgoAttribute& positive_attr, |
| 591 | const AlgoAttribute& negative_attr) { |
| 592 | auto algo = static_cast<HandleImpl*>(handle())->default_pooling_fwd_algo(); |
| 593 | algo->check_attribute(positive_attr, negative_attr); |
| 594 | return algo; |
| 595 | } |
| 596 | |
| 597 | Algorithm* PoolingBackwardImpl::get_algorithm_from_desc(const AlgorithmDesc& desc) { |
| 598 | Algorithm* ret = static_cast<HandleImpl*>(handle())->default_pooling_bwd_algo(); |
nothing calls this directly
no test coverage detected