tensorflow::ops::Split

tensorflow::ops::Split

#include <array_ops.h>

Splits a tensor into num_split tensors along one dimension.

Summary

Arguments:

  • scope: A Scope object
  • axis: 0-D. The dimension along which to split. Must be in the range [0, rank(value)).
  • value: The tensor to split.
  • num_split: The number of ways to split. Must evenly divide value.shape[split_dim].

Returns:

  • OutputList: They are identically shaped tensors, whose shape matches that of value except along axis, where their sizes are values.shape[split_dim] / num_split.
Constructors and Destructors
Split(const ::tensorflow::Scope & scope, ::tensorflow::Input axis, ::tensorflow::Input value, int64 num_split)
Public attributes
output
Public functions
operator[](size_t index) const

Public attributes

output

::tensorflow::OutputList output

Public functions

Split

 Split(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input axis,
  ::tensorflow::Input value,
  int64 num_split
)

operator[]

::tensorflow::Output operator[](
  size_t index
) const 

© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/split.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部