MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / platform_id

Method platform_id

tensorflow/compiler/jit/kernels/xla_ops.h:64–64  ·  view source on GitHub ↗

This is equal to xla_device_metadata()->platform()->id() if xla_device_metadata() is not nullptr.

Source from the content-addressed store, hash-verified

62 // This is equal to xla_device_metadata()->platform()->id() if
63 // xla_device_metadata() is not nullptr.
64 se::Platform::Id platform_id() const { return platform_id_; }
65
66 // This may be null if the op this XlaPlatformInfo is for was not placed on an
67 // XLA device.

Callers 4

GetAllocatorFunction · 0.80
BuildCompilationCacheFunction · 0.80
CompileToLocalExecutableFunction · 0.80
ComputeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected