Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 95 for getHttp (0.13 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/nchw_convolution_to_nhwc.cc

            rewriter.getDenseI64ArrayAttr(kOihwToHwioPermutation));
    
        // [b, 0, 1, f]x[0, 1, i, o]->[b, 0, 1, f]
        const auto new_dimension_nums = rewriter.getAttr<ConvDimensionNumbersAttr>(
            /*inputBatchDimension=*/0, /*inputFeatureDimension=*/3,
            /*inputSpatialDimensions=*/SmallVector<int64_t>{1, 2},
            /*kernelInputFeatureDimension=*/2, /*kernelOutputFeatureDimension=*/3,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. tensorflow/c/ops.cc

        cc_type v;                                                           \
        auto* cc_ctx = reinterpret_cast<InferenceContext*>(ctx);             \
        Status s = cc_ctx->GetAttr(attr_name, &v);                           \
        Set_TF_Status_from_Status(status, s);                                \
        if (s.ok()) {                                                        \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 28 22:41:35 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc

        auto range = llvm::make_filter_range(op->getUsers(), [&](Operation *user) {
          bool same_block = user->getBlock() == op->getBlock();
          bool same_device = op->getAttr(kDeviceAttr) == user->getAttr(kDeviceAttr);
          return same_block && same_device && state.IsMember(user);
        });
        return {range.begin(), range.end()};
      }
    
      // Users of block argument must be in the same block.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/device_util_test.cc

      mlir::OwningOpRef<mlir::ModuleOp> module_ref =
          mlir::ModuleOp::create(mlir::UnknownLoc::get(&context));
    
      AddDevicesToOp(*module_ref, /*device_set=*/nullptr);
      EXPECT_EQ((*module_ref)->getAttr("tf.devices"), nullptr);
    }
    
    TEST(DeviceUtilTest, GetDevicesFromOpNoDevicesAttribute) {
      mlir::MLIRContext context;
      mlir::OwningOpRef<mlir::ModuleOp> module_ref =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. platforms/jvm/scala/src/main/java/org/gradle/api/tasks/scala/ScalaDoc.java

                    parameters.getOptions().add(docTitle);
                }
    
                // None of these options work for Scala >=2.8
                // options.getBottom();;
                // options.getTop();
                // options.getHeader();
                // options.getWindowTitle();
    
                List<String> additionalParameters = options.getAdditionalParameters();
                if (additionalParameters != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseModel.java

            this.jdt = jdt;
        }
    
        /**
         * Configures eclipse wtp information
         * <p>
         * For examples see docs for {@link EclipseWtp}
         */
        public EclipseWtp getWtp() {
            if (wtp == null) {
                wtp = getObjectFactory().newInstance(EclipseWtp.class);
            }
            return wtp;
        }
    
        public void setWtp(EclipseWtp wtp) {
            this.wtp = wtp;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_partitioning.cc

    mlir::Attribute GetDeviceOfResource(mlir::func::FuncOp func,
                                        mlir::Value resource) {
      if (auto* resource_op = resource.getDefiningOp()) {
        return resource_op->getAttr(kDeviceAttr);
      } else {
        const auto resource_arg = resource.dyn_cast_or_null<BlockArgument>();
        if (resource_arg && (resource_arg.getOwner() == &(func.front()))) {
          return func.getArgAttrOfType<mlir::StringAttr>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. fastapi/encoders.py

            exclude = set(exclude)
        if isinstance(obj, BaseModel):
            # TODO: remove when deprecating Pydantic v1
            encoders: Dict[Any, Any] = {}
            if not PYDANTIC_V2:
                encoders = getattr(obj.__config__, "json_encoders", {})  # type: ignore[attr-defined]
                if custom_encoder:
                    encoders.update(custom_encoder)
            obj_dict = _model_dump(
                obj,
                mode="json",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc

      auto* defining_op = op->getOperand(operand_index).getDefiningOp();
      for (auto attr : kQuantizationAxisAttrs) {
        if (defining_op->hasAttr(attr)) {
          return defining_op->getAttr(attr);
        }
      }
      // Not found.
      return rewriter.getI64IntegerAttr(-1);
    }
    
    LogicalResult CheckIfAttrIs8Bit(const std::string& attr, Operation* op,
                                    bool& is_8_bit) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  10. pkg/test/echo/proto/echo.pb.go

    }
    
    func (x *ForwardEchoRequest) GetMethod() string {
    	if x != nil {
    		return x.Method
    	}
    	return ""
    }
    
    func (x *ForwardEchoRequest) GetHttp2() bool {
    	if x != nil {
    		return x.Http2
    	}
    	return false
    }
    
    func (x *ForwardEchoRequest) GetHttp3() bool {
    	if x != nil {
    		return x.Http3
    	}
    	return false
    }
    
    func (x *ForwardEchoRequest) GetServerFirst() bool {
    	if x != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 02:27:10 UTC 2024
    - 33.3K bytes
    - Viewed (0)
Back to top