MCPcopy
hub / github.com/google/tf-quant-finance / stack

Method stack

tf_quant_finance/datetime/tensor_wrapper.py:66–70  ·  view source on GitHub ↗

See tf.stack.

(cls, tensor_wrappers, axis=0)

Source from the content-addressed store, hash-verified

64
65 @classmethod
66 def stack(cls, tensor_wrappers, axis=0):
67 """See tf.stack."""
68 cls._validate_tensor_types(tensor_wrappers, "stack")
69 return cls._apply_sequence_to_tensor_op(
70 lambda ts: tf.stack(ts, axis), tensor_wrappers)
71
72 @classmethod
73 def where(cls, condition, tensor_wrapper_1, tensor_wrapper_2):

Callers 15

test_boolean_maskMethod · 0.80
to_tensorMethod · 0.80
__repr__Method · 0.80
swap_curve_fitFunction · 0.80
_build_discount_curveFunction · 0.80
_while_loopFunction · 0.80
_stratonovich_integralFunction · 0.80

Calls 2