Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for L2Loss (0.06 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

    //===----------------------------------------------------------------------===//
    // L2Loss op patterns.
    //===----------------------------------------------------------------------===//
    
    def GetAllAxes : NativeCodeCall<
      "GetI64ElementsAttrForSeq("
      "0, $0.getType().cast<RankedTensorType>().getRank(), &$_builder)">;
    
    // L2Loss is lowered using the formula,
    // L2Loss(input) = Sum(input * input) / 2
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

      );
    
      TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr<0>;
    }
    
    
    def TF_L2LossOp : TF_Op<"L2Loss", [Pure]> {
      let summary = "L2 Loss.";
    
      let description = [{
    Computes half the L2 norm of a tensor without the `sqrt`:
    
        output = sum(t ** 2) / 2
      }];
    
      let arguments = (ins
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
Back to top