mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +01:00
Fix typo in custom_call.md
PiperOrigin-RevId: 776780468
This commit is contained in:
parent
6ff6d01bfc
commit
ebd8f5ca4a
2
third_party/xla/docs/custom_call.md
vendored
2
third_party/xla/docs/custom_call.md
vendored
|
|
@ -316,7 +316,7 @@ void do_it() {
|
|||
// Constrain custom call arguments to 1-dimensional buffers of F32 data type.
|
||||
using BufferF32 = xla::ffi::BufferR1<xla::ffi::DataType::F32>;
|
||||
|
||||
// Implement a custom call as a C+ function. Note that we can use `Buffer` type
|
||||
// Implement a custom call as a C++ function. Note that we can use `Buffer` type
|
||||
// defined by XLA FFI that gives us access to buffer data type and shape.
|
||||
xla::ffi::Error do_custom_call(BufferF32 in0, BufferF32 in1,
|
||||
xla::ffi::Result<BufferF32> out) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user