Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 85 of 85 for identity_op (0.3 sec)

  1. tensorflow/compiler/mlir/lite/tests/optimize.mlir

    }
    
    // CHECK-LABEL: @FuseReshapeAroundBMMRHS
    func.func @FuseReshapeAroundBMMRHS(%arg0: tensor<1x3x6x5x1024xf32>) -> tensor<1x3x6x5x8192xf32> attributes {tf.entry_function = {control_outputs = "", inputs = "inputs", outputs = "Identity_1"}} {
      %cst = arith.constant dense_resource<__elided__> : tensor<1x1024x8192xf32>
      %cst_0 = arith.constant dense_resource<__elided__> : tensor<5xi32>
      %cst_1 = arith.constant dense_resource<__elided__> : tensor<3xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 284.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    namespace mlir {
    namespace TF {
    
    namespace {
    // Returns the equivalent Value skipping through identity nodes.
    Value LookThroughIdentity(Value result) {
      while (isa_and_nonnull<IdentityOp, IdentityNOp>(result.getDefiningOp())) {
        auto op_result = result.cast<OpResult>();
        result = op_result.getOwner()->getOperand(op_result.getResultNumber());
      }
      return result;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  3. tensorflow/cc/saved_model/testdata/chunked_saved_model/chunked_model/saved_model.pbtxt

                key: "_output_shapes"
                value {
                  list {
                  }
                }
              }
            }
            ret {
              key: "identity_1"
              value: "Identity_1:output:0"
            }
            attr {
              key: "_construction_context"
              value {
                s: "kEagerRuntime"
              }
            }
            attr {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 21:43:11 UTC 2023
    - 531.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        }
        return success();
      }
    };
    
    // Bypasses IdentityN op.
    class ConvertIdentityNOp : public OpRewritePattern<TF::IdentityNOp> {
     public:
      using OpRewritePattern<TF::IdentityNOp>::OpRewritePattern;
      LogicalResult matchAndRewrite(TF::IdentityNOp op,
                                    PatternRewriter &rewriter) const override {
        rewriter.replaceOp(op, op.getOperands());
        return success();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    such that dx = g(dy). In Python,
    
    ```python
    with tf.get_default_graph().gradient_override_map(
        {'IdentityN': 'OverrideGradientWithG'}):
      y, _ = identity_n([f(x), x])
    
    @tf.RegisterGradient('OverrideGradientWithG')
    def ApplyG(op, dy, _):
      return [None, g(dy)]  # Do not backprop to f(x).
    ```
      }];
    
      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)
Back to top