object SelectTensor extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SelectTensor
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply[T, D](key: D)(implicit arg0: ClassTag[T], arg1: ClassTag[D], ev: TensorNumeric[T], ev2: TensorNumeric[D]): SelectTensor[T]
Build a
SelectTensorInstance with a non-Tensor key with Type D.Build a
SelectTensorInstance with a non-Tensor key with Type D.- T
Numeric type
- D
type of key, must be supported by TensorDataType
- key
the key, must be able to be wrapped by Tensor
- returns
a
SelectTensorInstance
-
def
apply[T](keyTensor: Tensor[_], isTensorKey: Boolean = true, transformer: TensorOp[T] = null)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): SelectTensor[T]
Build a
SelectTensorInstance with a keyTensor.Build a
SelectTensorInstance with a keyTensor.- T
Numeric type
- keyTensor
the key or tensor wrapper of key, must be a scalar tensor
- isTensorKey
whether the key is a scalar tensor or a primitive value, default true
- transformer
user-defined transformer, default(null) means do nothing
- returns
a
SelectTensorInstance
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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
-
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()
-
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( ... )