class PostProcessing extends AnyRef
PostProssing PostProcessing contains two steps step 1 is filter, which is optional, used to transform output tensor to type wanted step 2 is to ndarray string, which is mandatory to parse tensor into readable string this string could be parsed by json in Python to a list
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PostProcessing
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new PostProcessing(tensor: Tensor[Float], filter: String = "")
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()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[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()
-
def
pickTopN(topN: Int): String
Pick TopN value of output tensor only (1) * record_size * box_value_number is supported thus only 2 or 3 dimension is valid for now
- def processTensor(): String
-
def
rankTopN(topN: Int): String
TopN filter, take 1-D size (n) tensor as input
TopN filter, take 1-D size (n) tensor as input
- returns
string, representing 2-D size (topN, 2) tensor
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- var t: Tensor[Float]
-
def
tensorToNdArrayString(): String
Transform tensor into readable string, could apply to any shape of tensor
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- val totalSize: Int
-
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
- @throws( ... ) @native()