See tf.stack.
(cls, tensor_wrappers, axis=0)
| 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): |