Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for leaky_relu (0.42 sec)

  1. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/test_schema.fbs

      UNPACK = 88,
      REDUCE_MIN = 89,
      FLOOR_DIV = 90,
      REDUCE_ANY = 91,
      SQUARE = 92,
      ZEROS_LIKE = 93,
      FILL = 94,
      FLOOR_MOD = 95,
      RANGE = 96,
      RESIZE_NEAREST_NEIGHBOR = 97,
      LEAKY_RELU = 98,
      SQUARED_DIFFERENCE = 99,
      MIRROR_PAD = 100,
      ABS = 101,
      SPLIT_V = 102,
      UNIQUE = 103,
      CEIL = 104,
      REVERSE_V2 = 105,
      ADD_N = 106,
      GATHER_ND = 107,
      COS = 108,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 19 19:46:06 UTC 2021
    - 26.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs

      UNPACK = 88,
      REDUCE_MIN = 89,
      FLOOR_DIV = 90,
      REDUCE_ANY = 91,
      SQUARE = 92,
      ZEROS_LIKE = 93,
      FILL = 94,
      FLOOR_MOD = 95,
      RANGE = 96,
      RESIZE_NEAREST_NEIGHBOR = 97,
      LEAKY_RELU = 98,
      SQUARED_DIFFERENCE = 99,
      MIRROR_PAD = 100,
      ABS = 101,
      SPLIT_V = 102,
      UNIQUE = 103,
      CEIL = 104,
      REVERSE_V2 = 105,
      ADD_N = 106,
      GATHER_ND = 107,
      COS = 108,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/schema/schema.fbs

      UNPACK = 88,
      REDUCE_MIN = 89,
      FLOOR_DIV = 90,
      REDUCE_ANY = 91,
      SQUARE = 92,
      ZEROS_LIKE = 93,
      FILL = 94,
      FLOOR_MOD = 95,
      RANGE = 96,
      RESIZE_NEAREST_NEIGHBOR = 97,
      LEAKY_RELU = 98,
      SQUARED_DIFFERENCE = 99,
      MIRROR_PAD = 100,
      ABS = 101,
      SPLIT_V = 102,
      UNIQUE = 103,
      CEIL = 104,
      REVERSE_V2 = 105,
      ADD_N = 106,
      GATHER_ND = 107,
      COS = 108,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/optimize.mlir

      %1 = "tfl.maximum"(%0, %arg0) : (tensor<2x3xf32>, tensor<2x3xf32>) -> tensor<2x3xf32>
      func.return %1 : tensor<2x3xf32>
    
      // CHECK: %[[RESULT:[0-9].*]] = "tfl.leaky_relu"
    }
    
    // CHECK-LABEL: leaky_relu_not_fused
    // Should not fuse to LeakyRelu, since alpha > 1.
    func.func @leaky_relu_not_fused(%arg0: tensor<2x3xf32>) -> tensor<2x3xf32> {
      %alpha = arith.constant dense<1.2> : tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 284.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

      func.return %0 : tensor<1x2x3x4x5x6x7x8xi32>
    }
    
    func.func @LeakyRelu(%arg0: tensor<1xf32>) -> tensor<1xf32> {
      %2 = "tf.LeakyRelu"(%arg0) {alpha = 0.1 : f32} : (tensor<1xf32>) -> tensor<1xf32>
      func.return %2: tensor<1xf32>
    
    // CHECK-LABEL: LeakyRelu
    // CHECK:  "tfl.leaky_relu"(%arg0) <{alpha = 1.000000e-01 : f32}> : (tensor<1xf32>) -> tensor<1xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

    OpFoldResult LeakyReluOp::fold(FoldAdaptor adaptor) {
      auto operands = adaptor.getOperands();
      assert(operands.size() == 1 && "leaky relu has one operand");
    
      // leaky_relu(x, alpha: 1) -> x
      if (getAlpha().convertToFloat() == 1.0f &&
          getOperand().getType() == getType())
        return getOperand();
    
      auto calculate = [&](FloatAttr arg) {
        APFloat val = arg.getValue();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      %0 = "tf.Relu6"(%arg0) : (tensor<?xui32>) -> tensor<?xui32>
      func.return %0: tensor<?xui32>
    }
    
    // -----
    
    // CHECK-LABEL: func @leaky_relu
    func.func @leaky_relu(%arg0: tensor<1x4x4x3xf32>) -> tensor<1x4x4x3xf32> attributes {tf.entry_function = {}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/constant-fold.mlir

      %neg = arith.constant dense<-5.0> : tensor<f32>
      %no = "tf.LeakyRelu"(%arg0) {alpha = 0.2 : f32} : (tensor<16xf32>) -> tensor<16xf32>
      %0 = "tf.LeakyRelu"(%pos) {alpha = 0.3 : f32} : (tensor<f32>) -> tensor<f32>
      %1 = "tf.LeakyRelu"(%neg) {alpha = 0.2 : f32} : (tensor<f32>) -> tensor<f32>
      %2 = "tf.LeakyRelu"(%arg0) {alpha = 3.0 : f32} : (tensor<16xf32>) -> tensor<16xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 31 23:22:24 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        return quant::GetFixedOutputRange(is_signed, bit_width, result_type,
            /*scale=*/1.0 / (1<<(bit_width-1)), /*zero_point=*/0);
      }
      }];
    }
    
    def TFL_LeakyReluOp: TFL_Op<"leaky_relu", [
        SameOperandsAndResultShape,
        QuantizableResult,
        Pure,
        PredOpTrait<"input and output must have same element type",
          TFL_TCresVTEtIsSameAsOp<0, 0>>]> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  10. tensorflow/cc/gradients/nn_grad_test.cc

      RunTest(x, x_init_value, y, shape);
    }
    
    TEST_F(NNGradTest, LeakyReluGrad) {
      TensorShape shape({5, 2});
      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape));
      auto y = ops::internal::LeakyRelu(scope_, x);
      // Avoid input values where Leaky ReLU gradient is not well defined (around
      // zero).
      Tensor x_init_value = test::AsTensor<float>(
          {-0.9f, -0.7f, -0.5f, -0.3f, -0.1f, 0.1f, 0.3f, 0.5f, 0.7f, 0.9f},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 22 20:45:22 UTC 2022
    - 15K bytes
    - Viewed (0)
Back to top