object Tensor
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Tensor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[T](tensors: Tensor[T]*)(implicit arg0: core.types.TF[T]): Tensor[T]
- def apply[T]()(implicit arg0: core.types.TF[T]): Tensor[T]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def empty[T](implicit arg0: core.types.TF[T]): Tensor[T]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def fill[T](dataType: core.types.DataType[T], shape: core.Shape)(value: T): Tensor[T]
- def fill[T](shape: core.Shape)(value: T)(implicit arg0: core.types.TF[T]): Tensor[T]
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromBuffer[T](shape: core.Shape, numBytes: Long, buffer: ByteBuffer)(implicit arg0: core.types.TF[T]): Tensor[T]
- Annotations
- @throws( ... )
-
def
fromNPY[T](file: Path)(implicit arg0: core.types.TF[T]): Tensor[T]
- Annotations
- @throws( ... ) @throws( ... )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
makeProto[T](value: Tensor[T], shape: core.Shape): TensorProto
- Annotations
- @throws( ... )
-
def
makeProto[T](value: Tensor[T]): TensorProto
- Annotations
- @throws( ... )
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def oneHot[T, I](indices: Tensor[I], depth: Tensor[Int], onValue: Tensor[T] = null, offValue: Tensor[T] = null, axis: Int = -1)(implicit arg0: core.types.TF[T], arg1: core.types.IsIntOrLongOrUByte[I]): Tensor[T]
- def ones[T](dataType: core.types.DataType[T], shape: core.Shape): Tensor[T]
- def ones[T](shape: core.Shape)(implicit arg0: core.types.TF[T]): Tensor[T]
- def onesLike[T](tensor: Tensor[T], shape: core.Shape = null): Tensor[T]
- def rand[T, I](dataType: core.types.DataType[T], shape: Tensor[I], minValue: Tensor[T] = null, maxValue: Tensor[T] = null, seed: Option[Int] = None)(implicit arg0: core.types.IsIntOrLongOrHalfOrFloatOrDouble[T], arg1: core.types.IsIntOrLong[I]): Tensor[T]
- def randTruncN[T, I](dataType: core.types.DataType[T], shape: Tensor[I], mean: Tensor[T] = null, standardDeviation: Tensor[T] = null, seed: Option[Int] = None)(implicit arg0: core.types.IsHalfOrFloatOrDouble[T], arg1: core.types.IsIntOrLong[I]): Tensor[T]
- def randn[T, I](dataType: core.types.DataType[T], shape: Tensor[I], mean: Tensor[T] = null, standardDeviation: Tensor[T] = null, seed: Option[Int] = None)(implicit arg0: core.types.IsHalfOrFloatOrDouble[T], arg1: core.types.IsIntOrLong[I]): Tensor[T]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def zeros[T](dataType: core.types.DataType[T], shape: core.Shape): Tensor[T]
- def zeros[T](shape: core.Shape)(implicit arg0: core.types.TF[T]): Tensor[T]
- def zerosLike[T](tensor: Tensor[T], shape: core.Shape = null): Tensor[T]