habitat.tracking.callable#

Module Contents#

Classes#

CallableTracker

Functions#

_is_callable_and_public(maybe_fn)

_is_callable_dunder(maybe_fn)

Returns True if maybe_fn is a callable dunder (callable named with double

_is_callable(maybe_fn)

Attributes#

BLACKLISTED_DUNDERS

BLACKLISTED_TENSOR_METHODS

BLACKLISTED_TORCH_METHODS

class habitat.tracking.callable.CallableTracker(hook_creator)[source]#

Bases: habitat.tracking.base.TrackerBase

start_tracking()[source]#
stop_tracking()[source]#
habitat.tracking.callable._is_callable_and_public(maybe_fn)[source]#
habitat.tracking.callable.BLACKLISTED_DUNDERS[source]#
habitat.tracking.callable.BLACKLISTED_TENSOR_METHODS[source]#
habitat.tracking.callable.BLACKLISTED_TORCH_METHODS[source]#
habitat.tracking.callable._is_callable_dunder(maybe_fn)[source]#

Returns True if maybe_fn is a callable dunder (callable named with double underscores) (e.g., __add__)

habitat.tracking.callable._is_callable(maybe_fn)[source]#