Skip to content

Commit 381bf18

Browse files
committed
move TensorArray to Tensors folder
1 parent 4193ac6 commit 381bf18

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/TensorFlowNET.Core/Operations/TensorArray.cs renamed to src/TensorFlowNET.Core/Tensors/TensorArray.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ limitations under the License.
1717
using System;
1818
using System.Collections.Generic;
1919
using System.Text;
20+
using Tensorflow.Operations;
2021

21-
namespace Tensorflow.Operations
22+
namespace Tensorflow
2223
{
2324
/// <summary>
2425
/// TensorArray is designed to hide an underlying implementation object
@@ -29,9 +30,9 @@ namespace Tensorflow.Operations
2930
/// `while_loop` and `map_fn`. It supports gradient back-propagation via special
3031
/// "flow" control flow dependencies.
3132
/// </summary>
32-
public class TensorArray
33+
public class TensorArray : ITensorOrTensorArray
3334
{
34-
_GraphTensorArray _implementation;
35+
internal _GraphTensorArray _implementation;
3536

3637
public TF_DataType dtype => _implementation._dtype;
3738
public Tensor handle => _implementation._handle;

0 commit comments

Comments
 (0)