Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getODSResults (0.25 sec)

  1. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

          {
            ::mlir::Value input_value = (*square_diff_op.getODSResults(0).begin());
            mean_op_2 = rewriter.create<TF::MeanOp>(
                odsLoc, new_mean_type, input_value, reduce_dim_op,
                /*keep_dims=*/rewriter.getBoolAttr(false));
          }
    
          mean_value = (*mean_op_1.getODSResults(0).begin());
          variance_value = (*mean_op_2.getODSResults(0).begin());
        }  // End is_training equals true if.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/fuse_convolution_pass.cc

            diag << "entities 'mul_value' failed to satisfy constraint: "
                    "unsupported dimensions";
          });
        }
        if (!is_dynamic_broadcast &&
            !((*conv_op.getODSResults(0).begin()).hasOneUse())) {
          return rewriter.notifyMatchFailure(mul_op, [&](::mlir::Diagnostic &diag) {
            diag << "entities 'conv' failed to satisfy constraint: has one use";
          });
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 22:21:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td

          }())
      }]
    >;
    
    // A derived attribute that returns the size of `idx`-th ODS-declared variadic
    // result.
    class TF_DerivedResultSizeAttr<int idx> : DerivedAttr<
      "size_t",
      "auto range = getODSResults(" # idx # ");\n"
      "return std::distance(range.begin(), range.end());",
      [{ $_builder.getI64IntegerAttr($_self) }]>;
    
    // A derived attribute that returns the element type of `idx`-th ODS-declared
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 30.5K bytes
    - Viewed (0)
Back to top