- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 170 for Fsetxattr (0.13 sec)
-
tensorflow/compiler/mlir/lite/experimental/tac/transforms/get_alternative_subgraph.cc
if (!interface_name.has_value()) { func.emitError("the func op does not have interface_name"); return nullptr; } cloned_func->setAttr( kDevice, builder->getStringAttr(target_device_inference_type.hardware)); cloned_func->setAttr(kInferenceType, builder->getStringAttr(GetInferenceString( target_device_inference_type.inference_type)));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/PrunedTag.java
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/views/attr_view.cc
default_value); } string AttrView::SetterMethod() const { if (!attr_.is_list()) { return absl::StrCat("SetAttr", toUpperCamel(attr_.full_type())); } else { return absl::StrCat("SetAttr", toUpperCamel(attr_.base_type()), "List"); } } std::vector<string> AttrView::SetterArgs() const { if (attr_.full_type() == "string") {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 03 07:02:00 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc
ConstOp zero = builder.create<ConstOp>(loc, zero_attr); zero->setAttr(kICIWeightDistributionMlirBridgeMarker, builder.getBoolAttr(true)); ConstOp shape = builder.create<ConstOp>(loc, shape_attr); shape->setAttr(kICIWeightDistributionMlirBridgeMarker, builder.getBoolAttr(true)); FillOp fill = builder.create<FillOp>(loc, shape, zero); fill->setAttr(kICIWeightDistributionMlirBridgeMarker,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 18:52:07 UTC 2024 - 13.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc
// Both the device attribute and compile_device_type attribute should be // propagated to the reduce function call. reduce_call->setAttr(kDeviceAttr, reduce_dataset->getAttrOfType<StringAttr>(kDeviceAttr)); reduce_call->setAttr( TF::kCompileDeviceTypeAttr, reduce_dataset->getAttrOfType<StringAttr>(TF::kCompileDeviceTypeAttr)); SmallVector<Value, 4> if_returns;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/common/cost.h
namespace mlir { namespace TFL { namespace tac { // Cost attribute string on the TFL dialect. constexpr char kCost[] = "tac.cost"; inline void UpdateCost(Operation* op, float cost, OpBuilder* builder) { op->setAttr(kCost, builder->getF32FloatAttr(cost)); } // Get the cost annotated with kCost. inline bool GetCostOnOp(Operation* op, float* cost) { auto cost_type = op->getAttrOfType<FloatAttr>(kCost); if (cost_type == nullptr) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 21 01:22:53 UTC 2021 - 1.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/initialize_variables_in_session_init.cc
auto func = builder.create<func::FuncOp>(module->getLoc(), kSessionInitFuncName, func_type); func->setAttr(kTfSavedModelExportedNamesAttr, builder.getStrArrayAttr({kSessionInitFuncName})); func->setAttr(kTfSavedModelInitializerTypeAttr, builder.getStringAttr(kTfSavedModelInitializerRestoreType)); func.setVisibility(mlir::func::FuncOp::Visibility::Public);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc
if (auto device = res->getAttrOfType<StringAttr>("device")) { if (!device.getValue().empty()) result_id->setAttr("device", device); else result_id->setAttr("device", compile_device_op); } else if (compile_device_op) { result_id->setAttr("device", compile_device_op); } res.getOutput().replaceAllUsesWith(compile_op->getResult(0)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 29.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/manipulate_model_attr.cc
const std::string new_inputs_attr_str = llvm::join(std::move(inputs_attrs), /*Separator=*/","); named_attr.setValue(StringAttr::get(ctx, new_inputs_attr_str)); } func_op->setAttr(kTfEntryFunctionAttr, DictionaryAttr::get(ctx, entry_func_attrs)); } } // namespace quant
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 26 01:13:26 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_dynamic_layout_pass.cc
builder.setInsertionPoint(execute_launch); auto copy_with_layout = BuildCopyWithLayout(execute_launch, compile_launch, get_layout, input, &builder); copy_with_layout->setAttr(kDeviceAttr, execute_launch.getDeviceAttr()); execute.setOperand(execute_arg_index, copy_with_layout); } // Performs transformation for replicated inputs. Returns true if this is a
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.7K bytes - Viewed (0)