Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for leaky_relu (0.19 sec)

  1. tensorflow/cc/gradients/nn_grad.cc

      auto dx = internal::LeakyReluGrad(scope, grad_inputs[0], op.input(0),
                                        attrs.Alpha(alpha));
      grad_outputs->push_back(dx);
      return scope.status();
    }
    REGISTER_GRADIENT_OP("LeakyRelu", LeakyReluGradHelper);
    
    Status LeakyReluGradGradHelper(const Scope& scope, const Operation& op,
                                   const std::vector<Output>& grad_inputs,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 23:34:33 UTC 2022
    - 24.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/schema/schema_generated.h

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/mark_for_compilation_pass.cc

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      func.return %0 : tensor<16x16x16x16xf32>
    }
    
    // -----
    
    // Test valid tf.LeakyRelu
    // CHECK-LABEL: func @testLeakyRelu(%arg0: tensor<16xf32>)
    func.func @testLeakyRelu(tensor<16xf32>) -> tensor<16xf32> {
    ^bb0(%arg0: tensor<16xf32>):
      %0 = "tf.LeakyRelu"(%arg0) {alpha = 0.2 : f32} : (tensor<16xf32>) -> tensor<16xf32>
      func.return %0 : tensor<16xf32>
    }
    
    // -----
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      func.return %0: tensor<*xf32>
    }
    
    // CHECK-LABEL: func @testLeakyRelu
    func.func @testLeakyRelu(%arg0 : tensor<16xf32>) -> (tensor<16xf32>) {
      %2 = "tf.LeakyRelu"(%arg0) {alpha = 1.0 : f32} : (tensor<16xf32>) -> tensor<16xf32>
      // CHECK: return %arg0
      func.return %2 : tensor<16xf32>
    }
    
    // CHECK-LABEL: testSameBitcastType
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      let summary = [{
    Computes rectified linear gradients for a LeakyRelu operation.
      }];
    
      let arguments = (ins
        Arg<TF_FloatTensor, [{The backpropagated gradients to the corresponding LeakyRelu operation.}]>:$gradients,
        Arg<TF_FloatTensor, [{The features passed as input to the corresponding LeakyRelu operation,
    OR the outputs of that operation (both work equivalently).}]>:$features,
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

            op, input_ty, concat, slice_begin_indices,
            rewriter.getI64TensorAttr(input_shape));
        return success();
      }
    };
    
    /// Converts a TF::LeakyReluOp to HLO.
    /// LeakyRelu(x) = alpha * x if x < 0 else x.
    class ConvertLeakyReluOp : public OpRewritePattern<TF::LeakyReluOp> {
     public:
      using OpRewritePattern::OpRewritePattern;
      LogicalResult matchAndRewrite(TF::LeakyReluOp op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top