openvino.runtime.opset8.log_softmax

openvino.runtime.opset8.log_softmax(data: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], axis: int, name: Optional[str] = None) openvino._pyopenvino.Node

Apply LogSoftmax operation on each element of input tensor.

Parameters
  • data – The tensor providing input data.

  • axis – An axis along which LogSoftmax should be calculated

Returns

The new node with LogSoftmax operation applied on each element.