Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ReluGrad (0.17 sec)

  1. tensorflow/c/experimental/gradients/nn_grad.cc

    #include "tensorflow/c/experimental/ops/nn_ops.h"
    #include "tensorflow/core/lib/llvm_rtti/llvm_rtti.h"
    #include "tensorflow/core/platform/errors.h"
    
    using std::vector;
    using tensorflow::ops::BiasAddGrad;
    using tensorflow::ops::ReluGrad;
    
    namespace tensorflow {
    namespace gradients {
    namespace {
    
    class ReluGradientFunction : public GradientFunction {
     public:
      explicit ReluGradientFunction(vector<AbstractTensorHandle*> f_outputs)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 09 06:38:45 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

              (MHLO_ClampOp (MHLO_ConstantOp (GetScalarOfType<0> $input)), $input,
                           (MHLO_ConstantOp (GetScalarOfType<6> $input))),
              [(TF_IntOrFpTensor $input)]>;
    
    // ReluGrad(gradients, features) = gradients * (features > 0)
    // The condition that $gradients and $features need to have the same shape is
    // implicitly enforced: $zero is created to have the same shape as $features,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/mark_for_compilation_pass.cc

                // Others
                "AddN", "Bitcast", "Cast", "ClipByValue", "Const", "Empty",
                "Identity", "IdentityN", "Relu", "Relu6", "ReluGrad", "Relu6Grad",
                "LeakyReluGrad", "Elu", "EluGrad", "Selu", "SeluGrad", "Select",
                "SelectV2", "Transpose", "ConjugateTranspose",
                "_UnaryOpsComposition", "CollectiveReduceV2",
                "CollectiveAssignGroupV2",
    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/shape_inference.mlir

      func.func @testSameOperandsAndResultTypeResolveRefBinary(%lhs: tensor<2x3x?x?xf32>, %rhs: tensor<2x?x5x?xf32>) -> (tensor<?x?x?x?xf32>) {
        // CHECK: (tensor<2x3x?x?xf32>, tensor<2x?x5x?xf32>) -> tensor<2x3x5x?xf32>
        %0 = "tf.ReluGrad"(%lhs, %rhs) : (tensor<2x3x?x?xf32>, tensor<2x?x5x?xf32>) -> tensor<?x?x?x?xf32>
        func.return %0 : tensor<?x?x?x?xf32>
      }
    
      // CHECK-LABEL: func @test_xla_sharding
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 17:24:10 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

        static bool isCompatibleReturnTypes(TypeRange inferred, TypeRange actual) {
          return ArraysAreCastCompatible(inferred, actual);
        }
      }];
    }
    
    def TF_ReluGradOp : TF_Op<"ReluGrad", [Pure, TF_SameOperandsAndResultTypeResolveRef]> {
      let summary = "Computes rectified linear gradients for a Relu operation.";
    
      let arguments = (ins
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir

        // CHECK-NEXT:  return %[[RES]] : tensor<4x8xf32>
        %2 = "tf.SeluGrad"(%gradients, %features) : (tensor<4x8xf32>, tensor<4x8xf32>) -> tensor<4x8xf32>
        func.return %2 : tensor<4x8xf32>
    }
    
    // CHECK-LABEL: func @expm1
    // CHECK-SAME: (%[[ARG0:.*]]: tensor<3x4xf32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 92K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      // CHECK: %[[RESULT:.*]] = mhlo.select %[[PRED]], %[[GRADIENTS]], %[[MULGRAD]]
      // CHECK: return %[[RESULT]]
      %2 = "tf.EluGrad"(%gradients, %features) : (tensor<4x8xf32>, tensor<?x?xf32>) -> tensor<4x8xf32>
      func.return %2 : tensor<4x8xf32>
    }
    
    //===----------------------------------------------------------------------===//
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
Back to top