Module org.elasticsearch.xcore
Class LangNetLayer
java.lang.Object
org.elasticsearch.xpack.core.ml.inference.trainedmodel.langident.LangNetLayer
- All Implemented Interfaces:
org.apache.lucene.util.Accountable,Writeable,ToXContent,ToXContentObject
public class LangNetLayer
extends Object
implements ToXContentObject, Writeable, org.apache.lucene.util.Accountable
Represents a single layer in the compressed Lang Net
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParseFieldstatic final ConstructingObjectParser<LangNetLayer, Void> static final ParseFieldstatic final ParseFieldstatic final ParseFieldstatic final ConstructingObjectParser<LangNetLayer, Void> static final ParseFieldFields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLEFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()longtoXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.lucene.util.Accountable
getChildResourcesMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
NAME
-
NUM_ROWS
-
NUM_COLS
-
WEIGHTS
-
BIAS
-
STRICT_PARSER
-
LENIENT_PARSER
-
-
Method Details
-
ramBytesUsed
public long ramBytesUsed()- Specified by:
ramBytesUsedin interfaceorg.apache.lucene.util.Accountable
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-