Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsAssignedToLogicalDevice (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

              num_cores_per_replica, sharding.tile_assignment_devices(0)));
    
        output_sharding_list->emplace_back(std::move(sharding));
      }
      return mlir::success();
    }
    
    namespace {
    
    bool IsAssignedToLogicalDevice(const int core_id,
                                   const xla::OpSharding& sharding) {
      return sharding.type() == xla::OpSharding::MAXIMAL &&
             sharding.tile_assignment_devices(0) == core_id;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
Back to top