Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 93 for attr_ (0.04 sec)

  1. src/os/exec_plan9.go

    	Kill      Signal = syscall.Note("kill")
    )
    
    func startProcess(name string, argv []string, attr *ProcAttr) (p *Process, err error) {
    	sysattr := &syscall.ProcAttr{
    		Dir: attr.Dir,
    		Env: attr.Env,
    		Sys: attr.Sys,
    	}
    
    	sysattr.Files = make([]uintptr, 0, len(attr.Files))
    	for _, f := range attr.Files {
    		sysattr.Files = append(sysattr.Files, f.Fd())
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc

        "'TFLite_Detection_PostProcess:3' type: DT_FLOAT } attr : { name: "
        "'h_scale' type: 'float'} attr : { name: 'max_classes_per_detection' "
        "type: 'int'} attr : { name: 'max_detections' type: 'int'} attr : { "
        "name: 'nms_iou_threshold' type: 'float'} attr : { name: "
        "'nms_score_threshold' type: 'float'} attr : { name: 'num_classes' type: "
        "'int'} attr : { name: 'w_scale' type: 'float'} attr : { name: 'x_scale' "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. tensorflow/c/kernels.cc

      const tensorflow::AttrValue* attr =
          ::tensorflow::AttrSlice(cc_ctx->def()).Find(attr_name);
      if (attr == nullptr) {
        status->status = absl::InvalidArgumentError(
            absl::StrCat("Operation '", cc_ctx->def().name(),
                         "' has no attr named '", attr_name, "'."));
      }
      return attr;
    }
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 36K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc

      }
    
      Attribute convertEncoding(Attribute attr) const final {
        LLVM_DEBUG(llvm::dbgs() << "Converting encoding.\n" << attr << '\n');
        // Must be VHLO encoding, or convertible to VHLO encoding.
        if (attr.getDialect().getNamespace() ==
            vhlo::VhloDialect::getDialectNamespace())
          return attr;
    
        if (auto stablehlo_attr =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 19:48:51 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. chainable_api.go

    //	db.Where(User{Name: "jinzhu"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user)
    //	// user -> User{Name: "jinzhu", Age: 20}
    //
    // [FirstOrCreate]: https://gorm.io/docs/advanced_query.html#FirstOrCreate
    // [FirstOrInit]: https://gorm.io/docs/advanced_query.html#FirstOrInit
    func (db *DB) Attrs(attrs ...interface{}) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.attrs = attrs
    	return
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:47:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.h

      if (auto float_ty = mlir::dyn_cast<FloatType>(ty)) {
        FloatAttr attr = FloatAttr::get(float_ty, raw_value);
        return DenseElementsAttr::get(scalar_ty, attr);
      } else if (auto int_ty = mlir::dyn_cast<IntegerType>(ty)) {
        IntegerAttr attr = IntegerAttr::get(int_ty, raw_value);
        return DenseElementsAttr::get(scalar_ty, attr);
      } else if (auto complex_ty = mlir::dyn_cast<ComplexType>(ty)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. pkg/kubelet/server/server.go

    			resp.WriteErrorString(http.StatusInternalServerError, msg)
    			return
    		}
    		if decision != authorizer.DecisionAllow {
    			klog.V(2).InfoS("Forbidden", "user", attrs.GetUser().GetName(), "verb", attrs.GetVerb(), "resource", attrs.GetResource(), "subresource", attrs.GetSubresource())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.cc

      StringRef device;
      if (auto attr = op->getAttrOfType<StringAttr>("device")) {
        device = attr.getValue();
      }
    
      StringRef container;
      if (auto attr = op->getAttrOfType<StringAttr>("container")) {
        container = attr.getValue();
      }
    
      StringRef shared_name;
      if (auto attr = op->getAttrOfType<StringAttr>("shared_name")) {
        shared_name = attr.getValue();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc

      std::vector<std::string> disabled_checks;
      for (auto attr : op.getDisabledChecks().getAsRange<StringAttr>()) {
        disabled_checks.push_back(attr.getValue().str());
      }
      std::vector<std::string> platforms;
      for (auto attr : op.getPlatforms().getAsRange<StringAttr>()) {
        platforms.push_back(attr.getValue().str());
      }
      TF_ASSIGN_OR_RETURN(
          auto loader,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. src/runtime/sys_darwin.go

    	KeepAlive(attr)
    	KeepAlive(size)
    	return ret
    }
    func pthread_attr_getstacksize_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    func pthread_attr_setdetachstate(attr *pthreadattr, state int) int32 {
    	ret := libcCall(unsafe.Pointer(abi.FuncPCABI0(pthread_attr_setdetachstate_trampoline)), unsafe.Pointer(&attr))
    	KeepAlive(attr)
    	return ret
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top