MCPcopy Create free account
hub / github.com/alibaba/nann / __init__

Method __init__

tensorflow/tensorflow/python/ops/control_flow_ops.py:811–846  ·  view source on GitHub ↗

Creates a `CondContext`. Args: pred: The `boolean` tensor for the conditional predicate. pivot: The predicate tensor in this branch. branch: 0 or 1 representing this branch. name: Name of the `CondContext` python object. context_def: Optional `ContextDef` protocol

(self,
               pred=None,
               pivot=None,
               branch=None,
               name="cond_text",
               context_def=None,
               import_scope=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

_init_from_protoMethod · 0.45
__init__Method · 0.45
_init_from_protoMethod · 0.45
__init__Method · 0.45

Calls 4

_init_from_protoMethod · 0.95
unique_nameMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected