Shortcuts

mmengine.utils.is_abs

mmengine.utils.is_abs(path)[source]

Check if path is an absolute path in different backends.

Parameters

path (str) – path of directory or file.

Returns

whether path is an absolute path.

Return type

bool

Read the Docs v: v0.4.0
Versions
latest
stable
v0.5.0
v0.4.0
v0.3.0
v0.2.0
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.