Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 461 for operand$i (0.26 sec)

  1. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

        the same symbol scope as the callee. The operands and result types of the
        call must match the specified function type. The callee is encoded as a
        symbol reference attribute named "callee".
    
        Example:
    
        ```mlir
        %2 = tfr.call @my_add(%0, %1) : (tfr.tensor, f32) -> tfr.tensor_list
        ```
    
        Note that the operands of the `call` operation can only be with tfr.tensor,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. src/go/types/call.go

    	if n := len(elist); n == 1 {
    		xlist, _ = check.multiExpr(elist[0], false)
    	} else if n > 1 {
    		// multiple (possibly invalid) values
    		xlist = make([]*operand, n)
    		for i, e := range elist {
    			var x operand
    			check.expr(nil, &x, e)
    			xlist[i] = &x
    		}
    	}
    	return
    }
    
    // genericExprList is like exprList but result operands may be uninstantiated or partially
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.cc

          // For simplicity, we don't consolidate these ops when all the
          // non-canonicalizable operands are adjacent.
          new_values.push_back(
              rewriter
                  .create<fallback_async::CoreRTTensorHandleToFallbackTensorOp>(
                      op.getLoc(), rewriter.getType<fallback::TFTensorType>(),
                      operand, op->getAttrOfType<mlir::StringAttr>("device"))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/analyze_variables.cc

        }
    
        // If any of the operands is a resource type, then we break
        // and mark the module as not valid for TFLite legalization.
        // Note: this might disable native variables in more than needed cases.
        // TODO(b/189370197): Enhance variable analysis.
        for (auto operand : op->getOperands()) {
          if (mlir::isa<TF::ResourceType>(
                  getElementTypeOrSelf(operand.getType()))) {
            legalize_to_tfl = false;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td

    // operand.
    class TF_DerivedOperandSizeAttr<int idx> : DerivedAttr<
      "size_t",
      "auto range = getODSOperands(" # 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
    // operand. If the `idx`-th operand is a variadic operand, then this attribute
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc

      constraints.Walk([](Value value, ValueConstraint constraint) {
        for (OpOperand &operand : value.getUses())
          operand.getOwner()->emitRemark(
              llvm::formatv("operand #{0} constrained to: {1}",
                            operand.getOperandNumber(), constraint));
      });
    }
    
    void EmitInputsConstraintsRemarks(func::FuncOp func,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

      // that was extracted..
    
      // Find the input edges to form the set of operands to the new function call.
      llvm::SetVector<Value> inputs;
      for (Operation* op : ops) {
        for (Value operand : op->getOperands()) {
          Operation* defining_op = operand.getDefiningOp();
          if (!ops.contains(defining_op)) inputs.insert(operand);
        }
      }
      // Find the output edges to form the set of resutls of the new function call.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/optimize_functional_ops.cc

          // original If op.
          if (op_to_inline.hasTrait<OpTrait::IsTerminator>()) {
            updated_results.reserve(op_to_inline.getNumOperands());
            for (Value operand : op_to_inline.getOperands())
              updated_results.push_back(mapper.lookup(operand));
            break;
          }
    
          // Otherwise, clone the op here.
          rewriter.clone(op_to_inline, mapper);
        }
        rewriter.replaceOp(op, updated_results);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/utils/stateful_ops_utils.h

    #include <vector>
    
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    
    namespace mlir {
    namespace TFL {
    
    // Check if the given op has stateful operands and return their stateful
    // operand indices.
    bool IsStatefulOp(Operation* op, std::vector<int>* stateful_operand_indices);
    
    }  // namespace TFL
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top