Implemented meshgrid (#1174)

* Implemented meshgrid

* Resolved feedback from LaurentMazare

* Rustfmt

* Updated docstring

* Removed outdated error mode from docstring
This commit is contained in:
Wouter Doppenberg
2023-10-25 13:49:11 +02:00
committed by GitHub
parent b6053b938b
commit e4c9adfdbe
2 changed files with 66 additions and 0 deletions

View File

@ -142,6 +142,9 @@ pub enum Error {
#[error("{op} expects at least one tensor")]
OpRequiresAtLeastOneTensor { op: &'static str },
#[error("{op} expects at least two tensors")]
OpRequiresAtLeastTwoTensors { op: &'static str },
#[error("backward is not supported for {op}")]
BackwardNotSupported { op: &'static str },