- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 94 for getVcs (0.25 sec)
-
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/lite/transforms/trim_functions_tf.cc
// if no trim_funcs_allowlist_ is specified, this pass is a no-op. if (trim_funcs_allowlist_.empty()) return false; llvm::SmallVector<func::FuncOp, 4> funcs_to_trim; for (auto func : getOperation().getOps<func::FuncOp>()) { if (llvm::is_contained(trim_funcs_allowlist_, func.getName())) { // If no main is specified in the allowlist, use the 1st func // in trim_funcs_allowlist as the main.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 07 21:08:41 UTC 2022 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/initialize_variables_in_session_init.cc
return failure(); } // Fetch all VarHandleOp. llvm::StringSet<> variable_names; llvm::SmallVector<TF::VarHandleOp, 4> var_ops; for (auto func_op : module.getOps<func::FuncOp>()) { for (auto var_handle_op : func_op.getOps<TF::VarHandleOp>()) { auto variable_name = GetVariableName(var_handle_op); if (variable_names.count(variable_name)) continue; var_ops.emplace_back(var_handle_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 7K bytes - Viewed (0) -
src/internal/syscall/windows/syscall_windows.go
const ( LOCKFILE_FAIL_IMMEDIATELY = 0x00000001 LOCKFILE_EXCLUSIVE_LOCK = 0x00000002 ) const MB_ERR_INVALID_CHARS = 8 //sys GetACP() (acp uint32) = kernel32.GetACP //sys GetConsoleCP() (ccp uint32) = kernel32.GetConsoleCP
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:55:25 UTC 2024 - 15.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/fuse_convolution_pass.cc
mlir::DenseIntElementsAttr broadcast_dims; // Match and capture values/attributes. Value lhs = mul_op.getLhs(); Value rhs = mul_op.getRhs(); conv_op = lhs.getDefiningOp<mhlo::ConvolutionOp>(); if (conv_op == nullptr) { return failure(); } filter = conv_op.getRhs().getDefiningOp<mhlo::ConstantOp>(); if (filter == nullptr) { return failure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 22:21:19 UTC 2024 - 8.3K bytes - Viewed (0) -
src/cmd/go/internal/test/testflag.go
return f.abs } func (f *outputdirFlag) Set(value string) (err error) { if value == "" { f.abs = "" } else { f.abs, err = filepath.Abs(value) } return err } func (f *outputdirFlag) getAbs() string { if f.abs == "" { return base.Cwd() } return f.abs } // vetFlag implements the special parsing logic for the -vet flag: // a comma-separated list, with distinguished values "all" and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 19:25:24 UTC 2024 - 12.2K bytes - Viewed (0) -
tools/bug-report/pkg/content/content.go
cmdStr += " -o yaml" } out, err := p.Runner.RunCmd(cmdStr, "", p.KubeConfig, p.KubeContext, p.DryRun) return map[string]string{ "secrets": out, }, err } // GetCRs returns CR contents for all CRDs in the cluster. func GetCRs(p *Params) (map[string]string, error) { crds, err := getCRDList(p) if err != nil { return nil, err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 05 18:47:53 UTC 2023 - 9.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc
llvm::SmallVector<TF::VarHandleOp, 4> variables; // Capture list of all read only variables. for (auto func : module.getOps<func::FuncOp>()) { if (func == session_init_func) continue; for (auto var_handle_op : func.getOps<TF::VarHandleOp>()) { if (!analyzer.IsPotentiallyWritten(var_handle_op.getResource())) { variables.push_back(var_handle_op); } } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 09:56:53 UTC 2024 - 19.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc
const FunctionNameMatcher matcher(spec.matcher().function_name()); // Iterate over all XlaCallModuleOp in all FuncOps. for (auto func : module_op.getOps<func::FuncOp>()) { for (auto xla_call_module_op : func.getOps<TF::XlaCallModuleOp>()) { if (!matcher.Match(xla_call_module_op)) continue; // Set the text representation of `Method` to matched // `TF::XlaCallModuleOp`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 9.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
} const auto input_type = op.getLhs().getType().cast<TensorType>(); if (input_type.getRank() != 4) { LLVM_DEBUG(llvm::dbgs() << "Only 2D convolution op is supported. " "Expected input rank of 4. Got: " << input_type.getRank() << ".\n"); return failure(); } const auto filter_type = op.getRhs().getType().cast<TensorType>();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0)