mirror of
https://github.com/huggingface/candle.git
synced 2025-06-17 11:08:52 +00:00
Implemented meshgrid (#1174)
* Implemented meshgrid * Resolved feedback from LaurentMazare * Rustfmt * Updated docstring * Removed outdated error mode from docstring
This commit is contained in:

committed by
GitHub

parent
b6053b938b
commit
e4c9adfdbe
@ -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 },
|
||||
|
||||
|
Reference in New Issue
Block a user