Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 521 for Operands (0.17 sec)

  1. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

      return absl::OkStatus();
    }
    
    Status MlirAbstractOp::Create(ArrayRef<Value> operands,
                                  OperationState** state) {
      state_->operands = llvm::to_vector<4>(operands);
      Builder builder(context_);
    
      if (current_ods_input_ != op_def_->input_arg_size())
        return InvalidArgument(absl::StrCat("Mismatch in operands number: got ",
                                            current_ods_input_, " expected ",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/gpu_fusion.cc

    // commutativity of the AddV2: we want the FusedBatchNormV3 on any side.
    // Also we need some native calls to handle the "hasOneUse" aspects and the
    // optional extra operands for the AddV2 case.
    struct ReluToFusedBatchNorm : public OpRewritePattern<ReluOp> {
      using OpRewritePattern<ReluOp>::OpRewritePattern;
    
      LogicalResult matchAndRewrite(ReluOp relu_op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/error-message-with-source-info.pbtxt

    # Checks that source debug information is used in the output error message.
    # CHECK: error: 'tf.Add' op operands don't have broadcast-compatible shapes
    # CHECK: math_ops.add(x, y, name='x_y_sum')
    # CHECK: build_graph(out_dir)
    node: {
      name: "x"
      op: "Placeholder"
      attr: {
        key: "shape"
        value: {
          shape: {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:00:09 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_partitioning.cc

        parallel_execute = mlir::TF::BuildParallelExecuteOp(cluster_func, &builder);
    
      // Rewrite results before rewriting operands as `tf.TPUPartitionedInputV2`
      // resource handle results is an indicator for a partitioned resource
      // variable. These `tf.TPUPartitionedInputV2` will be removed when rewriting
      // the operands.
      for (Value result : parallel_execute.getExecuteOutputs()) {
        if (!result.hasOneUse()) continue;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

    to an aliased device name. Otherwise the device already set in tf_device.launch
    is used instead.
    
    Operands are replicated inputs and packed inputs.
    
    replicated_inputs: each group of `n` inputs corresponds to an input for a single
    individual replica and is mapped to a single region argument. Inside one group
    the operands are matching in order the `devices` attribute. Each replicated
    input must have compatible shapes and types.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/remove_identity_op_pattern.h

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    
    namespace mlir {
    namespace quant {
    
    // Copied from tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc.
    // By removing identity ops, constant operands with dynamic shapes have static
    // shape information which is necessary for correct pattern matching in this
    // pass.
    struct RemoveIdentity : public OpRewritePattern<TF::IdentityOp> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 15 06:13:49 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc

        return rewriter.notifyMatchFailure(
            concat, "Concatenate op should have at least two operands");
    
      auto first = concat.getVal()[0].getDefiningOp<mhlo::SliceOp>();
      auto second = concat.getVal()[1].getDefiningOp<mhlo::SliceOp>();
      if (!first || !second)
        return rewriter.notifyMatchFailure(concat, "operands are not slice ops");
      if (first.getOperand() != second.getOperand())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  8. src/fmt/errors.go

    //
    // If the format specifier includes a %w verb with an error operand,
    // the returned error will implement an Unwrap method returning the operand.
    // If there is more than one %w verb, the returned error will implement an
    // Unwrap method returning a []error containing all the %w operands in the
    // order they appear in the arguments.
    // It is invalid to supply the %w verb with an operand that does not implement
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc

      metadata.ParseFromString(std::string(metadata_str.getValue()));
      int64_t num_replicas = replicate.getN();
      // Find the formattable operands of `execute`, which must be mirrored
      // variables (arguments of `replicate`), and must be pass-throughs from while
      // operands.
      for (const auto& mirrored_index : mirrored_variable_indices_attr) {
        int64_t replicate_arg = mlir::cast<IntegerAttr>(mirrored_index).getInt();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/flatbuffer_operator.h

        // NOLINTNEXTLINE
        llvm::SmallVectorImpl<mlir::NamedAttribute> &attributes);
    
    // While the last several tensors could be optional tensors for an tfl op, the
    // number of input operands could vary. This function gets the min/max number of
    // operands from tflite op name.
    llvm::MinMax OperandNumbersMinMax(llvm::StringRef op_name);
    
    // Populates the `custom_code` and `custom_options` to attributes.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 21:00:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top