Skip to content
Merged
Prev Previous commit
Next Next commit
bindgen-generated TF_SessionRun() takes a *const *const TF_Tensor
  • Loading branch information
nbigaouette-eai committed Mar 9, 2017
commit 2e2dc6e8589f68598d78165056f532766db1091b
2 changes: 1 addition & 1 deletion src/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ impl Session {
tf::TF_SessionRun(self.inner,
ptr::null(),
step.input_ports.as_ptr(),
input_tensors.as_mut_ptr(),
input_tensors.as_ptr() as *const *const tf::TF_Tensor,
input_tensors.len() as c_int,
step.output_ports.as_ptr(),
step.output_tensors.as_mut_ptr(),
Expand Down