- Sort Score
- Result 10 results
- Languages All
Results 21 - 28 of 28 for getHttp (0.21 sec)
-
tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc
return failure(); } // Collect all the undefined attributes used in the inputs. llvm::SmallVector<StringAttr, 4> undefined_attrs; for (auto attr : input_used_attrs) { if (!func->getAttr(attr.getValue())) { undefined_attrs.push_back(attr); } } // Verify the argument order: tensors, tensor list, attributes; and also // verify there is at most one tensor list argument.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Nov 21 16:55:41 UTC 2023 - 38.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/decompose.cc
new_operands.push_back(build_list_op.getOut()); } else { auto attr_name = compose_func.getArgAttrOfType<StringAttr>( arg.index(), kAttrArgumentNameAttr); auto attribute = op->getAttr(attr_name.getValue()); if (!attribute) { attribute = compose_func.getArgAttr(arg.index(), kAttrArgumentDefaultAttr); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc
if (!op->hasAttr(TF::kTpuReplicateAttr)) { op->emitOpError("TF2XLA TPU bridge input check: " + errormsg() + "missing _tpu_replicate attr"); return false; } auto opattr = op->getAttr(TF::kTpuReplicateAttr); if (opattr != attr) { op->emitOpError("TF2XLA TPU bridge input check: " + errormsg() + "invalid _tpu_replicate attr.")
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 06:51:01 UTC 2024 - 21.5K bytes - Viewed (0) -
fastapi/params.py
self, dependency: Optional[Callable[..., Any]] = None, *, use_cache: bool = True ): self.dependency = dependency self.use_cache = use_cache def __repr__(self) -> str: attr = getattr(self.dependency, "__name__", type(self.dependency).__name__) cache = "" if self.use_cache else ", use_cache=False" return f"{self.__class__.__name__}({attr}{cache})" class Security(Depends):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 27.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc
if (check_device) { // TODO(lyandy): Wrap resource ops in tf_device.launch. if (auto* resource_op = resource.getDefiningOp()) { auto resource_attr = resource_op->getAttr(kDeviceAttr); // Check device matching for the node defining the resource. if (!IsResourceMergeable(resource_attr, device_attr)) continue; } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 17:52:11 UTC 2024 - 27K bytes - Viewed (0) -
tensorflow/c/kernels_experimental.cc
TF_Status* status) { ::tensorflow::TensorShape shape; auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelConstruction*>(ctx); ::tensorflow::Status s = cc_ctx->GetAttr(attr_name, &shape); ::tensorflow::Set_TF_Status_from_Status(status, s); size_t rank = static_cast<size_t>(shape.dims()); if (!status->status.ok()) return; if (num_dims != rank) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 06:12:29 UTC 2024 - 30.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc
ModuleOp module_op = op->getParentOfType<ModuleOp>(); // Ignore ops without quantization method. // Consider adding checks for individual methods. if (!op->getAttr(kQuantizationMethodAttr)) return failure(); // Ignore unquantized ops. if (!IsQuantizedXlaCallModuleOp(op)) return failure(); // For weight-only quantization, op should be hybrid quantized.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 06:04:36 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc
} // Recreate the attributes dictionary to only contain "value". NamedAttrList attributes; attributes.append(NamedAttribute(value_str_attr, cst->getAttr("value"))); cst->setAttrs(attributes.getDictionary(&getContext())); }); auto& side_effect_analysis = getAnalysis<mlir::TF::SideEffectAnalysis>(); for (auto func : getOperation().getOps<mlir::func::FuncOp>())
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 22:03:30 UTC 2024 - 39.3K bytes - Viewed (0)