Spec-Zone.ru › TensorFlow

tf.keras.ops.outer

Compute the outer product of two vectors.

View aliases

Main aliases

tf.keras.ops.numpy.outer

tf.keras.ops.outer(
    x1, x2
)

Given two vectors x1 and x2, the outer product is:

out[i, j] = x1[i] * x2[j]
Args
x1 First input tensor.
x2 Second input tensor.
Returns
Outer product of x1 and x2.

© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/keras/ops/outer

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API