MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / addMatrixMultiply

Method addMatrixMultiply

include/NvInfer.h:7429–7433  ·  view source on GitHub ↗

\brief Add a MatrixMultiply layer to the network. \param input0 The first input tensor (commonly A). \param op0 The operation to apply to input0. \param input1 The second input tensor (commonly B). \param op1 The operation to apply to input1. The inputs are shape tensors if the output is a shape tensor. \see IMatrixMultiplyLayer \warning Int32 tensors are not valid input tensors. \return The

Source from the content-addressed store, hash-verified

7427 //! \return The new matrix multiply layer, or nullptr if it could not be created.
7428 //!
7429 IMatrixMultiplyLayer* addMatrixMultiply(
7430 ITensor& input0, MatrixOperation op0, ITensor& input1, MatrixOperation op1) noexcept
7431 {
7432 return mImpl->addMatrixMultiply(input0, op0, input1, op1);
7433 }
7434
7435 //!
7436 //! \brief Add a nonzero layer to the network.

Callers 2

addLSTMCellMethod · 0.80
constructNetworkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected