tensorflow:: ops:: SparseSparseMaximum

#include <sparse_ops.h>

Zwraca maksymalną wartość elementu dwóch obiektów SparseTensor.

Streszczenie

Zakłada się, że dwa obiekty SparseTensor mają ten sam kształt, tj. nie ma transmisji.

Argumenty:

  • zakres: obiekt zakresu
  • a_indices: 2-wymiarowa macierz N x R z indeksami wartości niepustych w SparseTensor, w kanonicznym porządku leksykograficznym.
  • a_values: 1-D. N niepustych wartości odpowiadających a_indices .
  • a_shape: 1-D. Kształt wejściowego obiektu SparseTensor.
  • b_indices: odpowiednik a_indices dla drugiego operandu.
  • b_values: odpowiednik a_values ​​dla drugiego operandu; musi być tego samego typu danych.
  • b_shape: odpowiednik a_shape dla drugiego operandu; oba kształty muszą być równe.

Zwroty:

  • Output output_indices: 2-D. Indeksy wyjściowego SparseTensor.
  • Output output_values: 1-D. Wartości wyjściowego SparseTensor.

Konstruktory i destruktory

SparseSparseMaximum (const :: tensorflow::Scope & scope, :: tensorflow::Input a_indices, :: tensorflow::Input a_values, :: tensorflow::Input a_shape, :: tensorflow::Input b_indices, :: tensorflow::Input b_values, :: tensorflow::Input b_shape)

Atrybuty publiczne

operation
output_indices
output_values

Atrybuty publiczne

działanie

Operation operation

indeksy_wyjściowe

::tensorflow::Output output_indices

wartości_wyjściowe

::tensorflow::Output output_values

Funkcje publiczne

RzadkieRzadkieMaksymalne

 SparseSparseMaximum(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input a_indices,
  ::tensorflow::Input a_values,
  ::tensorflow::Input a_shape,
  ::tensorflow::Input b_indices,
  ::tensorflow::Input b_values,
  ::tensorflow::Input b_shape
)