tests/testthat/_snaps/jit-ops.md

can print ops objects at different levels

Code
  jit_ops
Output
  Object of class <torch_ops>
Code
  jit_ops$sparse
Output
  <torch_ops>: Handle to namespace  sparse
Code
  jit_ops$prim$ChunkSizes
Output
  function_schema (name = prim::ChunkSizes)
  arguments: <none> 
  returns: <none>
Code
  jit_ops$aten$fft_fft
Output
  function_schema (name = aten::fft_fft)
  arguments: self - TensorType, n - OptionalType, dim - IntType, norm - OptionalType 
  returns: TensorType


Try the torch package in your browser

Any scripts or data that you put into this service are public.

torch documentation built on June 7, 2023, 6:19 p.m.