Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for matrix_diag_part (0.22 sec)

  1. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

    }
    
    //===----------------------------------------------------------------------===//
    // MatrixDiagPart
    //===----------------------------------------------------------------------===//
    
    // -----
    
    // CHECK-LABEL: func @matrix_diag_part
    // CHECK-SAME: %[[ARG:.*]]: tensor<7x140x128xi32>
    func.func @matrix_diag_part(%arg0: tensor<7x140x128xi32>) -> tensor<7x22x128xi32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    # A main diagonal from each batch.
    tf.matrix_diag_part(input) ==> [[1, 6, 7],  # Output shape: (2, 3)
                                    [5, 2, 7]]
    
    # A superdiagonal from each batch.
    tf.matrix_diag_part(input, k = 1)
      ==> [[2, 7, 6],  # Output shape: (2, 3)
           [4, 3, 8]]
    
    # A band from each batch.
    tf.matrix_diag_part(input, k = (-1, 2))
      ==> [[[0, 3, 8],  # Output shape: (2, 4, 3)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/fuzzing/op_fuzzing.bzl

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 07 19:14:57 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        // Replace all out-of-bounds values in the result with padding_value.
        Value result =
            rewriter.create<SelectOp>(loc, b_in_bounds, gather, b_padding);
    
        if (num_diags == 1) {
          // matrix_diag_part folds away the 1-sized band dimension if we only
          // extract a single diagonal.
          result = rewriter.create<ReshapeOp>(loc, op.getType(), result);
        }
    
        rewriter.replaceOp(op, result);
    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/cc/gradients/array_grad.cc

    Status MatrixDiagGrad(const Scope& scope, const Operation& op,
                          const std::vector<Output>& grad_inputs,
                          std::vector<Output>* grad_outputs) {
      grad_outputs->push_back(MatrixDiagPart(scope, grad_inputs[0]));
      return scope.status();
    }
    REGISTER_GRADIENT_OP("MatrixDiag", MatrixDiagGrad);
    
    Status MatrixBandPartGrad(const Scope& scope, const Operation& op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  6. RELEASE.md

    *   Fixed bug causing incorrect number of threads to be used for multi-threaded
        benchmarks.
    *   Performance optimizations for `batch_matmul` on multi-core CPUs.
    *   Improve trace, `matrix_set_diag`, `matrix_diag_part` and their gradients to
        work for rectangular matrices.
    *   Support for SVD of complex valued matrices.
    
    ## Thanks to our Contributors
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  7. 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)
Back to top