pub struct TfeTensorF64 { /* private fields */ }Expand description
Opaque handle wrapping a Tensor<f64>.
Host languages hold a pointer to this type and pass it to all
tfe_* functions. The internal layout is private; only the C-API
functions can access the inner tensor.
§Examples (C)
tfe_status_t status;
size_t shape[] = {2, 3};
double data[] = {1, 2, 3, 4, 5, 6};
tfe_tensor_f64 *t = tfe_tensor_f64_from_data(data, 6, shape, 2, &status);
// ... use t ...
tfe_tensor_f64_release(t);Auto Trait Implementations§
impl Freeze for TfeTensorF64
impl RefUnwindSafe for TfeTensorF64
impl Send for TfeTensorF64
impl Sync for TfeTensorF64
impl Unpin for TfeTensorF64
impl UnwindSafe for TfeTensorF64
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more