Skip to content

Commit d2de8be

Browse files
committed
tensor_array_write_v3
1 parent 38ad490 commit d2de8be

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

src/TensorFlowNET.Core/Operations/gen_data_flow_ops.cs

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,5 +220,44 @@ public static Tensor tensor_array_read_v3(Tensor handle, Tensor index, Tensor fl
220220

221221
return _op.output;
222222
}
223+
224+
public static Tensor tensor_array_write_v3(Tensor handle, Tensor index, Tensor value, Tensor flow_in, string name = null)
225+
{
226+
var _op = _op_def_lib._apply_op_helper("TensorArrayWriteV3", name, new
227+
{
228+
handle,
229+
index,
230+
value,
231+
flow_in
232+
});
233+
234+
return _op.output;
235+
}
236+
237+
public static Tensor tensor_array_size_v3(Tensor handle, Tensor flow_in, string name = null)
238+
{
239+
var _op = _op_def_lib._apply_op_helper("TensorArraySizeV3", name, new
240+
{
241+
handle,
242+
flow_in
243+
});
244+
245+
return _op.output;
246+
}
247+
248+
public static Tensor tensor_array_gather_v3(Tensor handle, Tensor indices, Tensor flow_in,
249+
TF_DataType dtype, TensorShape element_shape = null, string name = null)
250+
{
251+
var _op = _op_def_lib._apply_op_helper("TensorArrayGatherV3", name, new
252+
{
253+
handle,
254+
indices,
255+
dtype,
256+
element_shape,
257+
flow_in
258+
});
259+
260+
return _op.output;
261+
}
223262
}
224263
}

0 commit comments

Comments
 (0)