Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_partitioning.cc

        }
    
        auto partitioned_output = builder.create<TF::TPUPartitionedOutputV2Op>(
            cluster_func->getLoc(), partitioned_output_types, result,
            partitioned_input.getPartitionDimsAttr(),
            partitioned_input.get_XlaShardingAttr());
        for (auto [i, value] : llvm::enumerate(partitioned_output.getOutput())) {
          const auto& resource = packed_input ? inputs[0] : inputs[i];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

          }
        }
    
        // Assume all the replicas have the same structure.
        mlir::TF::TPUPartitionedOutputV2Op first_op = *(ops.begin());
        mlir::ArrayAttr dims = first_op.getPartitionDimsAttr();
        StringAttr sharding = first_op.get_XlaShardingAttr();
        Operation::result_type_range output_types = first_op.getResultTypes();
        result_op = builder.create<mlir::TF::TPUPartitionedOutputV2Op>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
Back to top