1 | import { concat } from './concat';
|
2 | import { op } from './operation';
|
3 | /**
|
4 | * Concatenates a list of`tf.Tensor1D`s along an axis. See `concat` for details.
|
5 | *
|
6 | * For example, if:
|
7 | * A: shape(3) = |r1, g1, b1|
|
8 | * B: shape(2) = |r2, g2|
|
9 | * C = tf.concat1d([A, B]) == |r1, g1, b1, r2, g2|
|
10 | *
|
11 | * @param tensors A list of`tf.Tensor`s to concatenate.
|
12 | * @return The concatenated array.
|
13 | */
|
14 | function concat1d_(tensors) {
|
15 | return concat(tensors, 0 /* axis */);
|
16 | }
|
17 | export const concat1d = op({ concat1d_ });
|
18 | //# sourceMappingURL=concat_1d.js.map |
\ | No newline at end of file |