From d2de8bed63cf8ec9dc96531c1ae9bc17b94e1214 Mon Sep 17 00:00:00 2001 From: Oceania2018 Date: Sat, 2 Nov 2019 08:58:39 -0500 Subject: [PATCH] tensor_array_write_v3 --- .../Operations/gen_data_flow_ops.cs | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/src/TensorFlowNET.Core/Operations/gen_data_flow_ops.cs b/src/TensorFlowNET.Core/Operations/gen_data_flow_ops.cs index 1d3cc047..52b0a372 100644 --- a/src/TensorFlowNET.Core/Operations/gen_data_flow_ops.cs +++ b/src/TensorFlowNET.Core/Operations/gen_data_flow_ops.cs @@ -220,5 +220,44 @@ namespace Tensorflow return _op.output; } + + public static Tensor tensor_array_write_v3(Tensor handle, Tensor index, Tensor value, Tensor flow_in, string name = null) + { + var _op = _op_def_lib._apply_op_helper("TensorArrayWriteV3", name, new + { + handle, + index, + value, + flow_in + }); + + return _op.output; + } + + public static Tensor tensor_array_size_v3(Tensor handle, Tensor flow_in, string name = null) + { + var _op = _op_def_lib._apply_op_helper("TensorArraySizeV3", name, new + { + handle, + flow_in + }); + + return _op.output; + } + + public static Tensor tensor_array_gather_v3(Tensor handle, Tensor indices, Tensor flow_in, + TF_DataType dtype, TensorShape element_shape = null, string name = null) + { + var _op = _op_def_lib._apply_op_helper("TensorArrayGatherV3", name, new + { + handle, + indices, + dtype, + element_shape, + flow_in + }); + + return _op.output; + } } }