Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for read_variable (0.18 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

            break;
          }
        }
        TF::TPUReplicatedInputOp input =
            llvm::cast<TF::TPUReplicatedInputOp>(input_ptr);
    
        // Validate that all users of the TPUReplicatedInput are ReadVariable
        // or AssignVariable ops and check if any are outside the forwards pass.
        bool duplicate_needed = false;
        for (Operation* next_user : input.getOutput().getUsers()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/resource_op_lifting.mlir

      // CHECK-SAME: tensor<*xi32>
      func.return %1 : tensor<*xi32>
    }
    
    // If multiple types are used across reads and writes, check that the read uses
    // the most refined type. The first ReadVariable should refine the type from
    // *xi32 to ?xi32 and the assign should refine it further to 4xi32.
    // CHECK-LABEL: func @type_refinement_use_refined_type
    func.func @type_refinement_use_refined_type() -> tensor<4xi32> {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 74K bytes
    - Viewed (0)
Back to top