object Tensor
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Tensor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def empty[T](dataType: core.types.DataType[T]): Tensor[T]
- def empty[T](implicit arg0: core.types.TF[T]): Tensor[T]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): 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 fromBuffer[T](shape: core.Shape, numBytes: Long, buffer: ByteBuffer)(implicit arg0: core.types.TF[T]): Tensor[T]
- Annotations
- @throws(scala.this.throws.<init>$default$1[IllegalArgumentException])
- def fromNPY[T](file: Path)(implicit arg0: core.types.TF[T]): Tensor[T]
- Annotations
- @throws(scala.this.throws.<init>$default$1[org.platanios.tensorflow.api.core.exception.InvalidDataTypeException]) @throws(scala.this.throws.<init>$default$1[IllegalArgumentException])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def makeProto[T](value: Tensor[T], shape: core.Shape): TensorProto
- Annotations
- @throws(scala.this.throws.<init>$default$1[org.platanios.tensorflow.api.core.exception.InvalidArgumentException])
- def makeProto[T](value: Tensor[T]): TensorProto
- Annotations
- @throws(scala.this.throws.<init>$default$1[org.platanios.tensorflow.api.core.exception.InvalidArgumentException])
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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]