Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _TPUDeviceOrdinalPlaceholder (0.23 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/replicate_to_island_legacy.mlir

    // CHECK:      "tf.EnqueueTPUEmbeddingArbitraryTensorBatch"
    // CHECK-SAME:   _xla_replica_id = 1
    // CHECK:      "tf.A"
    // CHECK-NOT:   _xla_replica_id
    // CHECK:      tf_executor.fetch
    
    
    // Tests tf._TPUDeviceOrdinalPlaceholder ops are replaced with explicit device
    // ordinal constant values based on the first TPU core device id.
    // CHECK-LABEL: func @device_ordinals
    func.func @device_ordinals() {
      tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/replicate_invariant_op_hoisting.cc

        return region && region->isProperAncestor(replicate_region);
      };
    
      for (Value operand : op->getOperands())
        if (!ancestor_of_replicate(operand.getParentRegion())) return false;
    
      // _TPUDeviceOrdinalPlaceholder implicitly depends on the replica.
      if (llvm::isa<TF::_TPUDeviceOrdinalPlaceholderOp>(op)) return false;
    
      bool has_replicate_operands = false;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top