- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 177 for getAbs (4 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/add_functions_for_exported_names.cc
} } } } void AddFunctionsForExportedNamesPass::runOnOperation() { Block& module_body = getOperation().getRegion().front(); for (auto f : llvm::make_early_inc_range(getOperation().getOps<func::FuncOp>())) { auto exported_names = GetExportedNames(f); if (exported_names.empty() || !f.isPublic()) continue; if (exported_names.size() == 1 && exported_names[0] == f.getName()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 08:06:04 UTC 2023 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/save_variables.cc
if (!bundle_writer.status().ok()) { return bundle_writer.status(); } std::vector<std::string> saved_variable_shared_names; for (auto assign_variable_op : session_init_func_type_restore_op.getOps<mlir::TF::AssignVariableOp>()) { if (const absl::StatusOr<std::string> variable_shared_name = AddTensorToBundleWriter(assign_variable_op, bundle_writer); !variable_shared_name.ok()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:36:55 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/remove_vars_in_session_initializer.cc
init_func_op.emitError("expects exactly one block in the MLIR function"); return signalPassFailure(); } auto var_handle_ops = init_func_op.getBlocks().front().getOps<VarHandleOp>(); llvm::SmallVector<VarHandleOp, 4> init_vars(var_handle_ops.begin(), var_handle_ops.end()); RemoveVariables(init_vars); } } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/guarantee_all_funcs_one_use.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 4.8K bytes - Viewed (0) -
operator/pkg/translate/translate_test.go
serviceObj, err := object.ParseYAMLToK8sObject([]byte(serviceString)) assert.NoError(t, err) obj, err := translator.fixMergedObjectWithCustomServicePortOverlay(serviceObj, iop.Components.IngressGateways[0].GetK8S().GetService(), serviceObj) assert.NoError(t, err) val := obj.UnstructuredObject().Object["spec"].(map[string]interface{})["ports"].([]interface{})[0] apVal, found, _ := tpath.GetFromStructPath(val, "appProtocol")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 12 19:43:09 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_save_function_ops_to_main.cc
return cast<GraphOp>(graph_op_range.begin()); } return {}; } // Gets the "main" function from the module. Returns an empty op iff it doesn't // exist. func::FuncOp GetMainFunction(ModuleOp module_op) { const auto main_func_id = StringAttr::get(module_op.getContext(), kImportModelDefaultGraphFuncName); auto func_ops = module_op.getOps<func::FuncOp>();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/unfreeze_constants.cc
// functions and avoid converting ConstOps inside initializer functions. for (auto func_op : module_op.getOps<func::FuncOp>()) { // Do not unfreeze constants under these functions. if (func_op.getSymName().contains("while_body")) continue; if (func_op.getSymName().contains("while_cond")) continue; absl::c_copy_if(func_op.getOps<TF::ConstOp>(), std::back_inserter(target_const_ops),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 16 15:04:53 UTC 2023 - 14K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/network_test.go
defer gwMu.Unlock() gws = v } getGws := func() []model.NetworkGateway { gwMu.Lock() defer gwMu.Unlock() return gws } c.AppendNetworkGatewayHandler(func() { setGws(c.NetworkGateways()) notifyCh <- struct{}{} }) expectGateways := func(t *testing.T, expectedGws int) { // wait for a notification assert.ChannelHasItem(t, notifyCh) if n := len(getGws()); n != expectedGws {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 10.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc
for (Region* region : regions_with_token) { // Initialize the token with the special argument token. This gets mapped to // input token in the parent op or a new token for the entry computation. auto token = StringAttr::get(ctx, tensorflow::kXlaTokenArgNodeName); for (Operation& op : region->getOps()) { // Only communication related ops that needs to have token should have the // extra attribute.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/NativeBinarySpec.java
*/ @Variant BuildType getBuildType(); /** * The libraries that should be linked into this binary. */ Collection<NativeDependencySet> getLibs(); /** * Adds a library as input to this binary. * <p> * This method accepts the following types: * * <ul> * <li>A {@link NativeLibrarySpec}</li>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.1K bytes - Viewed (0)