Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 493 for operands_ (0.15 sec)

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

        TFE_Context* context, llvm::SmallVectorImpl<mlir::Attribute>* results) {
      if (!context) {
        VLOG(1) << "Can't evaluate with null context.";
        return mlir::failure();
      }
      // If any operand is nullptr returns true for a failure.
      // TODO(b/120678030): remove this constraint if we find operators can be
      // evaluated with some unknown operands.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 13 06:02:14 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/graph_pruning.cc

      }
    }
    
    // Visits all operands of an op where each operand is an output of an Operation
    // in the same tf_executor.graph.
    void VisitOpOperands(GraphOp graph, Operation* op,
                         llvm::SmallPtrSetImpl<Operation*>* reachable_ops,
                         llvm::SmallVectorImpl<Operation*>* ops_to_visit) {
      for (Value operand : op->getOperands())
        VisitOpOperand(graph, operand, reachable_ops, ops_to_visit);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/breakup-islands.cc

          state.addRegion()->takeBody(region);
        }
        // Assign existing operands for item.
        operands.assign(item.operand_begin(), item.operand_end());
    
        // Collect defining ops for existing operands.
        defining_ops.clear();
        for (Value operand : operands) {
          defining_ops.insert(operand.getDefiningOp());
        }
        for (Value new_control_input : llvm::reverse(new_control_inputs_for_item)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

      if (!IsIllegalType(v.getType())) {
        return true;
      }
      if (v.getUsers().empty()) {
        return false;
      }
      return llvm::all_of(v.getUsers(), [&](OpOperand operand) {
        return IsQintToIntCast(operand.getOwner());
      });
    }
    
    // Check if an op operand value is defined by int -> qint TF Cast OP.
    bool IsQintValueDefinedByIntToQintCast(Value v) {
      if (!IsIllegalType(v.getType())) {
        return true;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_op_interfaces.td

    // TFL op interface for stateful operands.
    
    def TFL_StatefulOp : OpInterface<"StatefulOpInterface"> {
      let description = [{
        Interface for ops that are stateful and need to identify stateful operands.
    
        Stateful operands correspond to TF's variables semantics. An op that has 1
        or more stateful operands is a stateful op.
      }];
    
      let methods = [
        InterfaceMethod<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tpu_reorder_replicate_and_partitioned_inputs.cc

      // core. j-th column holds the operands for j-th replica.
      llvm::SmallVector<llvm::SmallVector<Value, 4>, 4>
          operands_per_replica_per_core(num_cores_per_replica);
    
      // Collect all operands in the 2D matrix.
      for (auto operand : replicated_input.getInputs()) {
        Operation* pi = operand.getDefiningOp();
        for (unsigned core_id = 0; core_id < num_cores_per_replica; ++core_id) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 24 23:08:55 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold_utils.cc

                                    llvm::SmallVector<Attribute>& results) {
      // If any operand is nullptr returns true for a failure.
      // TODO(b/120678030): remove this constraint if we find operators can be
      // evaluated with some unknown operands.
      if (std::any_of(operands.begin(), operands.end(),
                      [](Attribute operand) { return !operand; })) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/ExcludeJsonLogToCode.groovy

            switch (opType) {
                case "any of":
                    def operands = []
                    collectOperands(value, operands)
                    return "anyOf(${operands.join(', ')})"
                case "all of":
                    def operands = []
                    collectOperands(value, operands)
                    return "allOf(${operands.join(', ')})"
                case "exclude group":
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/colocate_tpu_copy_with_dynamic_shape.cc

              device = d->getDevice();
              break;
            }
          }
          for (auto *operand : operands)
            propagateIfChanged(operand, operand->SetDevice(device));
        }
      }
      void visitBranchOperand(OpOperand &operand) override {}
      void visitCallOperand(OpOperand &operand) override {}
      void setToExitState(Device *lattice) override {}
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 00:30:27 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/pseudo_test.go

    	}
    	return res
    }
    
    func TestErroneous(t *testing.T) {
    
    	type errtest struct {
    		pseudo   string
    		operands string
    		expected string
    	}
    
    	nonRuntimeTests := []errtest{
    		{"TEXT", "", "expect two or three operands for TEXT"},
    		{"TEXT", "%", "expect two or three operands for TEXT"},
    		{"TEXT", "1, 1", "TEXT symbol \"<erroneous symbol>\" must be a symbol(SB)"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top