Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 232 for operands_ (0.18 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc

          // inputs.
          SmallVector<Value, 4> inputs;
          inputs.reserve(quantizing_op->getNumOperands());
          for (const auto& operand : quantizing_op->getOperands()) {
            Type operand_type = operand.getType();
            if (operand_type.isa<NoneType>()) {
              inputs.push_back(operand);
              continue;
            }
    
            Type elem_type = operand_type.cast<TensorType>().getElementType();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.td

    //
    // Like qcasts, a dcast is allowed to have both its operand and result
    // as non quantized types. This facilitates transformations and marks edges
    // where the computation must be carried out in the expressed type.
    //
    // Especially early in transformation, it is common to have dcasts on
    // all operands to ops that must operate with the expressed type (typically
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 13 12:46:08 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc

      // Look up function definition from module.
      Block& function_block = func.front();
    
      sharding_for_args.reserve(function_block.getNumArguments());
    
      // Iterate through operands of `cluster_func`.
      // The computation operand can either be:
      //   1) a TPUPartitionedInput Op if the input has a non-resource type;
      //   2) a ReadVariableOp else.
      //
      // Iterate through input arguments to the entry block of
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

          Value operand = op->getOperand(i);
          if (Operation* inst = operand.getDefiningOp()) {
            // If the operand comes from a `quantfork::DequantizeCastOp`, we use
            // the quantized input of this `quantfork::DequantizeCastOp` to set the
            // state.
            if (auto dq = dyn_cast<quantfork::DequantizeCastOp>(inst)) {
              operand = dq.getArg();
            }
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/converter_gen.cc

           << "const std::vector<int32_t>& operands,"
           << "const std::vector<int32_t>& results,"
           << (has_intermediates ? "const std::vector<int32_t>& intermediate_index,"
                                 : "")
           << "flatbuffers::FlatBufferBuilder *fbb) {\n";
    
        // Inputs & outputs
        os << "  auto inputs = fbb->CreateVector(operands);\n"
              "  auto outputs = fbb->CreateVector(results);\n\n";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

      });
    }
    
    // Propagates the resource IDs from an input operand to a result. Returns true
    // if the mapping changed.
    bool ResourceAliasAnalysisInfo::PropagateInputToOutput(const Value& operand,
                                                           const OpResult& result) {
      auto operand_it = resource_value_to_ids_.find(operand);
      assert(operand_it != resource_value_to_ids_.end() &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

          call.getNumResults() != yield.getNumOperands())
        return std::nullopt;
      for (auto [arg, operand] :
           llvm::zip(block.getArguments(), call.getOperands())) {
        if (arg != operand) return std::nullopt;
      }
      for (auto [ret, operand] :
           llvm::zip(call.getResults(), yield.getOperands())) {
        if (ret != operand) return std::nullopt;
      }
      SymbolRefAttr symbol = call.getCallableForCallee().get<SymbolRefAttr>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  8. src/go/types/index.go

    				x.mode = invalid
    				return
    			}
    			valid = true
    			if x.mode == constant_ {
    				length = int64(len(constant.StringVal(x.val)))
    			}
    			// spec: "For untyped string operands the result
    			// is a non-constant value of type string."
    			if isUntyped(x.typ) {
    				x.typ = Typ[String]
    			}
    		}
    
    	case *Array:
    		valid = true
    		length = u.len
    		if x.mode != variable {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:05 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. src/fmt/print.go

    }
    
    // Print formats using the default formats for its operands and writes to standard output.
    // Spaces are added between operands when neither is a string.
    // It returns the number of bytes written and any write error encountered.
    func Print(a ...any) (n int, err error) {
    	return Fprint(os.Stdout, a...)
    }
    
    // Sprint formats using the default formats for its operands and returns the resulting string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc

      if (extra_operands.empty()) return;
    
      const int operands_size = while_op.getNumOperands() + extra_operands.size();
      SmallVector<Value, 4> operands;
      operands.reserve(operands_size);
      operands.append(while_op.getOperands().begin(), while_op.getOperands().end());
      operands.append(extra_operands.begin(), extra_operands.end());
      SmallVector<Type, 4> new_types;
      new_types.reserve(operands_size);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top