tensorflow::ops::LinSpace
#include <math_ops.h>Belirli bir aralıkta değerler üretir.
Özet
start noktasından başlayarak, eşit aralıklarla yerleştirilmiş num adet değerden oluşan bir dizi oluşturulur. Eğer num > 1 ise, dizideki değerler stop - start / num - 1 kadar artar, böylece son değer tam olarak stop olur.
Örneğin:
tf.linspace(10.0, 12.0, 3, name="linspace") => [ 10.0 11.0 12.0]
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- Başlangıç: 0 boyutlu tensör. Aralıktaki ilk giriş.
- Durdur: 0 boyutlu tensör. Aralıktaki son giriş.
- num: 0 boyutlu tensör. Oluşturulacak değer sayısı.
İadeler:
-
Output: 1 boyutlu. Oluşturulan değerler.
Yapıcılar ve Yıkıcılar | |
|---|---|
LinSpace (const :: tensorflow::Scope & scope, :: tensorflow::Input start, :: tensorflow::Input stop, :: tensorflow::Input num) |
Genel özellikler | |
|---|---|
operation | |
output | |
Kamusal işlevler | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Genel özellikler
operasyon
Operation operation
çıktı
::tensorflow::Output output
Kamusal işlevler
LinSpace
LinSpace( const ::tensorflow::Scope & scope, ::tensorflow::Input start, ::tensorflow::Input stop, ::tensorflow::Input num )
düğüm
::tensorflow::Node * node() const
operatör::tensorflow::Giriş
operator::tensorflow::Input() const
operatör::tensorflow::Çıktı
operator::tensorflow::Output() const