Home | History | Annotate | Download | only in ops

Lines Matching defs:fn

485   def fn(tensors, scope):
495 return _batch_helper('lt_batch', fn, batch_size, enqueue_many,
541 def fn(tensors, scope):
553 return _batch_helper('lt_shuffle_batch', fn, batch_size, enqueue_many,
610 def map_fn(fn, labeled_tensor, name=None):
616 fn: The function to apply to each unpacked LabeledTensor.
622 A tensor that packs the results of applying fn to the list of tensors
635 map_lts = [fn(t) for t in unpack_lts]
644 first_map_lt = fn(unpack_lts[0])
653 return fn(tensor_lt).tensor
664 def foldl(fn, labeled_tensor, initial_value, name=None):
670 fn: The function to apply to each unpacked LabeledTensor.
691 return fn(accumulator_lt, next_element_lt).tensor