com
.
intel
.
analytics
.
zoo
.
pipeline
.
inference
InferenceModelFactory
Related Doc:
package inference
object
InferenceModelFactory
extends
InferenceSupportive
Linear Supertypes
InferenceSupportive
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
InferenceModelFactory
InferenceSupportive
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
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clearWeightBias
(
model:
Module
[
Float
]
)
:
Unit
Definition Classes
InferenceSupportive
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
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
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
loadCalibratedOpenVINOModelForTF
(
modelPath:
String
,
modelType:
String
,
checkpointPath:
String
,
inputShape:
Array
[
Int
]
,
ifReverseInputChannels:
Boolean
,
meanValues:
Array
[
Float
]
,
scale:
Float
,
networkType:
String
,
validationFilePath:
String
,
subset:
Int
,
opencvLibPath:
String
)
:
OpenVINOModel
def
loadFloatModel
(
modelPath:
String
,
weightPath:
String
)
:
FloatModel
def
loadFloatModel
(
modelPath:
String
)
:
FloatModel
def
loadFloatModelForCaffe
(
modelPath:
String
,
weightPath:
String
)
:
FloatModel
def
loadFloatModelForTF
(
modelPath:
String
,
intraOpParallelismThreads:
Int
=
1
,
interOpParallelismThreads:
Int
=
1
,
usePerSessionThreads:
Boolean
=
true
)
:
FloatModel
def
loadOpenVINOModelForIR
(
modelFilePath:
String
,
weightFilePath:
String
,
deviceType:
DeviceTypeEnumVal
)
:
OpenVINOModel
def
loadOpenVINOModelForIRInt8
(
modelFilePath:
String
,
weightFilePath:
String
,
deviceType:
DeviceTypeEnumVal
,
batchSize:
Int
)
:
OpenVINOModel
def
loadOpenVINOModelForTF
(
modelPath:
String
,
imageClassificationModelType:
String
,
checkpointPath:
String
,
inputShape:
Array
[
Int
]
,
ifReverseInputChannels:
Boolean
,
meanValues:
Array
[
Float
]
,
scale:
Float
)
:
OpenVINOModel
def
loadOpenVINOModelForTF
(
modelPath:
String
,
modelType:
String
,
pipelineConfigPath:
String
,
extensionsConfigPath:
String
)
:
OpenVINOModel
def
makeMetaModel
(
original:
AbstractModule
[
Activity
,
Activity
,
Float
]
)
:
AbstractModule
[
Activity
,
Activity
,
Float
]
Definition Classes
InferenceSupportive
def
makeUpModel
(
clonedModel:
Module
[
Float
]
,
weightBias:
Array
[
Tensor
[
Float
]]
)
:
AbstractModule
[
Activity
,
Activity
,
Float
]
Definition Classes
InferenceSupportive
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
releaseWeightBias
(
model:
Module
[
Float
]
)
:
Unit
Definition Classes
InferenceSupportive
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
timing
[
T
]
(
name:
String
)
(
f: ⇒
T
)
:
T
Definition Classes
InferenceSupportive
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
transferBatchTableToJListOfJListOfJTensor
(
batchTable:
Table
,
batchSize:
Int
)
:
List
[
List
[
JTensor
]]
Definition Classes
InferenceSupportive
def
transferBatchTensorToJListOfJListOfJTensor
(
batchTensor:
Tensor
[
Float
]
,
batchSize:
Int
)
:
List
[
List
[
JTensor
]]
Definition Classes
InferenceSupportive
def
transferListOfActivityToActivityOfBatch
(
inputs:
List
[
List
[
JTensor
]]
,
batchSize:
Int
)
:
Activity
Definition Classes
InferenceSupportive
def
transferTensorToJTensor
(
input:
Tensor
[
Float
]
)
:
JTensor
Definition Classes
InferenceSupportive
def
transferTensorsToTensorOfBatch
(
tensors:
Array
[
JTensor
]
)
:
Tensor
[
Float
]
Definition Classes
InferenceSupportive
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
(
...
)
Inherited from
InferenceSupportive
Inherited from
AnyRef
Inherited from
Any
Ungrouped