下载
中文
注册

torch.jit

若API“是否支持”“是”“限制与说明”为空,说明此API和原生API支持度保持一致。

API名称

是否支持

限制与说明

torch.jit.export

  

torch.jit.is_scripting

  

torch.jit.is_tracing

支持fp32

torch.jit.trace

支持fp32

torch.jit.script_if_tracing

支持fp32

torch.jit.trace_module

支持fp32

torch.jit.ScriptModule

支持fp32

torch.jit.ScriptModule.apply

支持fp32,fp64

torch.jit.ScriptModule.buffers

支持fp32

torch.jit.ScriptModule.children

  

torch.jit.ScriptModule.code

  

torch.jit.ScriptModule.code_with_constants

  

torch.jit.ScriptModule.compile

  

torch.jit.ScriptModule.cpu

支持fp32

torch.jit.ScriptModule.cuda

支持fp32

torch.jit.ScriptModule.double

支持fp32

torch.jit.ScriptModule.eval

支持fp32

torch.jit.ScriptModule.extra_repr

支持fp32

torch.jit.ScriptModule.float

支持fp32

torch.jit.ScriptModule.get_buffer

支持fp32

torch.jit.ScriptModule.get_extra_state

  

torch.jit.ScriptModule.get_parameter

支持fp32

torch.jit.ScriptModule.get_submodule

支持fp32

torch.jit.ScriptModule.graph

  

torch.jit.ScriptModule.half

支持fp32

torch.jit.ScriptModule.inlined_graph

  

torch.jit.ScriptModule.ipu

支持fp32

torch.jit.ScriptModule.load_state_dict

支持fp32

torch.jit.ScriptModule.modules

支持fp32

torch.jit.ScriptModule.named_buffers

支持fp32

torch.jit.ScriptModule.named_children

支持fp32

torch.jit.ScriptModule.named_modules

支持fp32

torch.jit.ScriptModule.named_parameters

支持fp32

torch.jit.ScriptModule.parameters

支持fp32

torch.jit.ScriptModule.register_backward_hook

支持fp32

torch.jit.ScriptModule.register_forward_hook

支持fp32

torch.jit.ScriptModule.register_forward_pre_hook

支持fp32

torch.jit.ScriptModule.register_full_backward_hook

支持fp32

torch.jit.ScriptModule.register_full_backward_pre_hook

支持fp32

torch.jit.ScriptModule.register_load_state_dict_post_hook

支持fp32

torch.jit.ScriptModule.register_state_dict_pre_hook

支持fp32

torch.jit.ScriptModule.requires_grad_

支持fp32

torch.jit.ScriptModule.save

支持fp32

torch.jit.ScriptModule.set_extra_state

  

torch.jit.ScriptModule.share_memory

  

torch.jit.ScriptModule.state_dict

支持fp32

torch.jit.ScriptModule.to

支持fp32

torch.jit.ScriptModule.to_empty

支持fp32

torch.jit.ScriptModule.train

支持fp32

torch.jit.ScriptModule.type

支持fp16,fp32,uint8,int8,int16,int32,int64,bool

torch.jit.ScriptModule.xpu

支持fp32

torch.jit.ScriptModule.zero_grad

支持fp32

torch.jit.ScriptFunction

支持fp32

torch.jit.ScriptFunction.get_debug_state

支持fp32

torch.jit.ScriptFunction.save

支持fp32

torch.jit.ScriptFunction.save_to_buffer

  

torch.jit.freeze

  

torch.jit.optimize_for_inference

  

torch.jit.enable_onednn_fusion

  

torch.jit.onednn_fusion_enabled

  

torch.jit.save

  

torch.jit.load

  

torch.jit.ignore

  

torch.jit.unused

  

torch.jit.isinstance

  

torch.jit.Attribute

支持fp32

torch.jit.Attribute.count

支持fp32

torch.jit.Attribute.index

支持fp32

torch.jit.Attribute.type

  

torch.jit.Attribute.value

  

torch.jit.annotate

支持fp32