Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for nodeType (0.11 sec)

  1. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

          SmallVector<Value, 4> inputs;
          inputs.reserve(quantizing_op->getNumOperands());
          for (auto operand : quantizing_op->getOperands()) {
            Type operand_type = operand.getType();
            if (operand_type.isa<NoneType>()) {
              inputs.push_back(operand);
              continue;
            }
    
            auto ele_type = operand.getType().cast<TensorType>().getElementType();
            if (static_cast<const ConcreteT*>(this)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  2. tensorflow/cc/experimental/libtf/value.h

    TF_UNION_ACCESS_INSTANCE(impl::String, s);
    TF_UNION_ACCESS_INSTANCE(impl::TaggedValueTensor, tensor);
    TF_UNION_ACCESS_INSTANCE(impl::TensorSpec, tensor_spec);
    #undef TF_UNION_ACCESS_INSTANCE
    
    /// The union accessor for `NoneType`.
    template <>
    struct TaggedValue::UnionAccess<impl::None> {
      static impl::None& unsafe_reference(TaggedValue& t) {
        return None::GetInstance();
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:23:45 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. src/go/internal/gcimporter/ureader.go

    	if prev := *where; prev != nil {
    		return prev
    	}
    
    	*where = typ
    	return typ
    }
    
    func (r *reader) doTyp() (res types.Type) {
    	switch tag := pkgbits.CodeType(r.Code(pkgbits.SyncType)); tag {
    	default:
    		errorf("unhandled type tag: %v", tag)
    		panic("unreachable")
    
    	case pkgbits.TypeBasic:
    		return types.Typ[r.Len()]
    
    	case pkgbits.TypeNamed:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. src/os/os_windows_test.go

    	}
    	if tp := lfi.Mode().Type(); tp != fs.ModeIrregular {
    		// A reparse point is not a regular file, but we don't have a more appropriate
    		// ModeType bit for it, so it should be marked as irregular.
    		t.Errorf("%q should not be a an irregular file (mode=0x%x)", pythonPath, uint32(tp))
    	}
    
    	if sfi.Name() != pythonExeName {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc

    }
    
    LogicalResult EnsureBias(Operation* op, int bias_idx,
                             PatternRewriter& rewriter) {
      auto bias = op->getOperand(bias_idx);
    
      if (!mlir::isa<NoneType>(bias.getType())) return failure();
    
      // Proceed to create a zero bias.
      auto output = op->getResult(0);
      auto output_type = mlir::dyn_cast_or_null<RankedTensorType>(output.getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

      if (op_infos.empty())
        return parser.emitError(loc) << " expects at least one data operand";
    
      Attribute frame;
      if (parser.parseKeyword("frame") ||
          parser.parseAttribute(frame, NoneType::get(context), "frame_name",
                                result.attributes))
        return failure();
    
      Type i64 = parser.getBuilder().getIntegerType(64);
      if (parser.parseOptionalKeyword("parallel_iterations")) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
Back to top