Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for TPUPartitionedInputV2 (0.18 sec)

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

                            input_index, tiled_input_size, num_cores_per_replica));
        };
    
        // If input is already partitioned using the `tf.TPUPartitionedInputV2` op,
        // only replicated sharding is supported where i-th operand to
        // `tf.TPUPartitionedInputV2` op is input to the i-th logical device.
        if (auto partitioned_input =
                llvm::dyn_cast_or_null<mlir::TF::TPUPartitionedInputV2Op>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    // attributes back to legacy attributes.
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateConvertToLegacyCompileAndReplicateAttributesPass();
    
    // Creates a pass that converts all TPUPartitionedInput to TPUPartitionedInputV2
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateTPUPartitionedOpConversionPass();
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateTPUValidateInputsPass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

      let arguments = (ins
        I64Attr:$logical_core
      );
    
      let results = (outs
        TF_Int64Tensor:$device_ordinal
      );
    }
    
    // We must manually define TPUPartitionedInput, TPUPartitionedInputV2,
    // TPUPartitionedOutput, and TPUPartitionedOutputV2 since they have an
    // optional attribute, _XlaSharding, unlike the TensorFlow definition.
    def TF_TPUPartitionedInputOp : TF_Op<"TPUPartitionedInput", [Pure]> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      func.return %0 : tensor<1xi1>
    }
    
    // -----
    
    // Test invalid tf.TPUPartitionedInputV2 with packing
    func.func @testPackedTPUPartitionedInputV2(tensor<2x4xf32>, tensor<2x4xf32>) -> tensor<4x4xf32> {
    ^bb0(%arg0: tensor<2x4xf32>, %arg1: tensor<2x4xf32>):
      // expected-error @+1 {{expected 1 inputs, got 2}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

          tensorflow::GetTypeFromTFTensorShape({}, IntegerType::get(context, 1)));
      return success();
    }
    
    //===----------------------------------------------------------------------===//
    // TPUPartitionedInputV2
    //===----------------------------------------------------------------------===//
    
    // This method mimics this op's core/TF-level shape inference logic
    LogicalResult TPUPartitionedInputV2Op::verify() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
Back to top