Browse Source

move TensorArray to Tensors folder

tags/v0.12
Oceania2018 6 years ago
parent
commit
381bf18cb4
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      src/TensorFlowNET.Core/Tensors/TensorArray.cs

src/TensorFlowNET.Core/Operations/TensorArray.cs → src/TensorFlowNET.Core/Tensors/TensorArray.cs View File

@@ -17,8 +17,9 @@
using System;
using System.Collections.Generic;
using System.Text;
using Tensorflow.Operations;

namespace Tensorflow.Operations
namespace Tensorflow
{
/// <summary>
/// TensorArray is designed to hide an underlying implementation object
@@ -29,9 +30,9 @@ namespace Tensorflow.Operations
/// `while_loop` and `map_fn`. It supports gradient back-propagation via special
/// "flow" control flow dependencies.
/// </summary>
public class TensorArray
public class TensorArray : ITensorOrTensorArray
{
_GraphTensorArray _implementation;
internal _GraphTensorArray _implementation;

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

Loading…
Cancel
Save