case class Tensor(componentType: FundamentalType, shape: Seq[Int]) extends DataType with Product with Serializable
Data Type for Tensors
- componentType
underlying fundamental type (dtype in TensorFlow).
- shape
shape of the Tensor. No support for varying shape yet.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Tensor
- Serializable
- Serializable
- Product
- Equals
- DataType
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
Tensor(componentType: FundamentalType, shape: Seq[Int])
- componentType
underlying fundamental type (dtype in TensorFlow).
- shape
shape of the Tensor. No support for varying shape yet.
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val componentType: FundamentalType
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isNullable: Boolean
Returns true if this data type is nullable.
Returns true if this data type is nullable.
- Definition Classes
- DataType
-
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()
-
lazy val
packedElementCount: Long
Returns the element count a packed tensor would have.
- val shape: Seq[Int]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toJsonString: String
Returns a JSON String representation of the type.
Returns a JSON String representation of the type.
- Definition Classes
- DataType
-
def
toString(): String
- Definition Classes
- Tensor → AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )