Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/Research
/ is_predict
Method
is_predict
CV/SemSegPaddle/src/models/model_builder.py:35–36 ·
view source on GitHub ↗
(phase)
Source
from the content-addressed store, hash-verified
33
34
@staticmethod
35
def
is_predict(phase):
36
return
phase == ModelPhase.PREDICT
37
38
@staticmethod
39
def
is_eval(phase):
Callers
2
is_valid_phase
Method · 0.80
build_model
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected