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

Method _init_pfor

tensorflow/tensorflow/python/ops/parallel_for/pfor.py:264–328  ·  view source on GitHub ↗

Create a PFor object for converting parts of the while_loop. Args: parent_pfor: PFor object being used for converting the while_loop. indices: int32 Tensor of ids for the iterations that are still active (i.e. did not exit the while_loop). cond_stacked: True if the whi

(self, parent_pfor, indices, cond_stacked, inputs,
                 inputs_stacked)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_process_bodyMethod · 0.95
bodyMethod · 0.95

Calls 7

_add_conversionMethod · 0.95
PForClass · 0.85
_convert_helperMethod · 0.80
wrapFunction · 0.70
rangeFunction · 0.50
sizeMethod · 0.45
constantMethod · 0.45

Tested by

no test coverage detected