Class MetricData

    • Constructor Detail

      • MetricData

        public MetricData()
      • MetricData

        public MetricData​(MetricData source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getTaskId

        public String getTaskId()
        Get 训练任务id
        Returns:
        TaskId 训练任务id
      • setTaskId

        public void setTaskId​(String TaskId)
        Set 训练任务id
        Parameters:
        TaskId - 训练任务id
      • getTimestamp

        public Long getTimestamp()
        Get 时间戳.unix timestamp,单位为秒 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Timestamp 时间戳.unix timestamp,单位为秒 注意:此字段可能返回 null,表示取不到有效值。
      • setTimestamp

        public void setTimestamp​(Long Timestamp)
        Set 时间戳.unix timestamp,单位为秒 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Timestamp - 时间戳.unix timestamp,单位为秒 注意:此字段可能返回 null,表示取不到有效值。
      • getUin

        public String getUin()
        Get 用户uin 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Uin 用户uin 注意:此字段可能返回 null,表示取不到有效值。
      • setUin

        public void setUin​(String Uin)
        Set 用户uin 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Uin - 用户uin 注意:此字段可能返回 null,表示取不到有效值。
      • getEpoch

        public Long getEpoch()
        Get 本次上报数据所处的训练周期数。 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Epoch 本次上报数据所处的训练周期数。 注意:此字段可能返回 null,表示取不到有效值。
      • setEpoch

        public void setEpoch​(Long Epoch)
        Set 本次上报数据所处的训练周期数。 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Epoch - 本次上报数据所处的训练周期数。 注意:此字段可能返回 null,表示取不到有效值。
      • getStep

        public Long getStep()
        Get 本次上报数据所处的训练迭代次数。 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Step 本次上报数据所处的训练迭代次数。 注意:此字段可能返回 null,表示取不到有效值。
      • setStep

        public void setStep​(Long Step)
        Set 本次上报数据所处的训练迭代次数。 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Step - 本次上报数据所处的训练迭代次数。 注意:此字段可能返回 null,表示取不到有效值。
      • getTotalSteps

        public Long getTotalSteps()
        Get 训练停止所需的迭代总数。 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        TotalSteps 训练停止所需的迭代总数。 注意:此字段可能返回 null,表示取不到有效值。
      • setTotalSteps

        public void setTotalSteps​(Long TotalSteps)
        Set 训练停止所需的迭代总数。 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        TotalSteps - 训练停止所需的迭代总数。 注意:此字段可能返回 null,表示取不到有效值。
      • getPoints

        public DataPoint[] getPoints()
        Get 数据点。数组元素为不同指标的数据。数组长度不超过10。 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Points 数据点。数组元素为不同指标的数据。数组长度不超过10。 注意:此字段可能返回 null,表示取不到有效值。
      • setPoints

        public void setPoints​(DataPoint[] Points)
        Set 数据点。数组元素为不同指标的数据。数组长度不超过10。 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Points - 数据点。数组元素为不同指标的数据。数组长度不超过10。 注意:此字段可能返回 null,表示取不到有效值。