All
tensorflow C++ API
Computes the “logical and” of elements across dimensions of a tensor.
Summary
Reducesinput
along the dimensions given inaxis
. Unlesskeep_dims
is true, the rank of the tensor is reduced by 1 for each entry inaxis
. Ifkeep_dims
is true, the reduced dimensions are retained with length 1.
Arguments:
- scope: A Scope object
- input: The tensor to reduce.(Data type must be bool)
- axis: The dimensions to reduce.(0:Low axis,1:column axis)
Optional attributes (seeAttrs
):
- keep_dims__: If true, retain reduced dimensions with length 1.
Returns:
Output
: The reduced tensor.
Constructor
- All(const ::tensorflow::Scope & scope, ::tensorflow::Input input,::tensorflow::Input axis,const All::Attrs & attrs).
Public attributes
- tensorflow::Output output.
All block
Source link : https://github.com/EXPNUNI/enuSpaceTensorflow/blob/master/enuSpaceTensorflow/tf_math.cpp
Argument:
- Scope scope : A Scope object (A scope is generated automatically each page. A scope is not connected.).
- Input input : connect Input node.
- Input axis : connect Input node.
- All::Attrs attrs : Input attrs value. ex) keep_dims__=false;
Return:
- Output output : Output object of All class object.
Result:
- std::vector(Tensor) product_result : Returned object of executed result by calling session.