- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 38 for substVar (0.14 sec)
-
tensorflow/cc/framework/cc_op_gen_util.cc
result = dot_h_fname.substr(pos + sizeof("/bin/") - 1); } else { pos = dot_h_fname.find("/genfiles/"); if (pos != string::npos) { result = dot_h_fname.substr(pos + sizeof("/genfiles/") - 1); } } if (result.size() > sizeof("external/") && result.compare(0, sizeof("external/") - 1, "external/") == 0) { result = result.substr(sizeof("external/") - 1); pos = result.find('/');
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:57:05 UTC 2024 - 25K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_tensor_handle.cc
value_string = "<error computing value>"; } if (value_string.length() > 100) { // The default NumPy-style output can be distractingly long in error // messages. value_string = absl::StrCat(value_string.substr(0, 100), " [...]"); } Status s; const char* device_name = DeviceName(&s); if (!s.ok()) { device_name = "<error fetching device name>"; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 2.1K bytes - Viewed (0) -
src/net/http/main_test.go
").noteClientGone(": "a closenotifier sender", } var stacks string for i := 0; i < 2500; i++ { bad = "" stacks = strings.Join(interestingGoroutines(), "\n\n") for substr, what := range badSubstring { if strings.Contains(stacks, substr) { bad = what } } if bad == "" { leakReported = false return } // Bad stuff found, but goroutines might just still be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 22:49:46 UTC 2024 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/parse_text_proto.cc
}; } // namespace Status ConsumePrefix(absl::string_view str, absl::string_view prefix, absl::string_view* output) { if (absl::StartsWith(str, prefix)) { *output = str.substr(prefix.size()); return absl::OkStatus(); } return errors::NotFound("No prefix \"", prefix, "\" in \"", str, "\""); } Status ParseTextProto(absl::string_view text_proto,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 2.5K bytes - Viewed (0) -
src/syscall/mksyscall.pl
$sysname =~ s/([a-z])([A-Z])/${1}_$2/g; # turn FooBar into Foo_Bar $sysname =~ y/a-z/A-Z/; if($libc) { $sysname =~ y/A-Z/a-z/; $sysname = substr $sysname, 4; $funcname = "libc_$sysname"; } } if($libc) { if($funcname eq "") { $sysname = substr $sysname, 4; $sysname =~ y/A-Z/a-z/; $funcname = "libc_$sysname"; } $sysname = "abi.FuncPCABI0(${funcname}_trampoline)"; }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:15:02 UTC 2024 - 10.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc
int idx_arrow = einsum_equation.find("->"); StringRef calc_eq = einsum_equation.substr(0, idx_arrow); StringRef out_eq = einsum_equation.substr(idx_arrow + 2); int idx_comma = calc_eq.find(','); StringRef lhs_eq = calc_eq.substr(0, idx_comma); StringRef rhs_eq = calc_eq.substr(idx_comma + 1); std::string target_eq; if (is_lhs) { target_eq = lhs_eq;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 47.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc
} // Parse equation. int idx_arrow = equation.find("->"); StringRef calc_eq = equation.substr(0, idx_arrow); StringRef out_eq = equation.substr(idx_arrow + 2); int idx_comma = calc_eq.find(','); StringRef lhs_eq = calc_eq.substr(0, idx_comma); StringRef rhs_eq = calc_eq.substr(idx_comma + 1); if (absl::StrContains(rhs_eq, ",")) return false; int lhs_out_idx_start = out_eq.size();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc
data_types_str, "'")); } inside_subtype = false; } if (inside_subtype) continue; if (c == ',') { dtypes.push_back( std::string(data_types_str.substr(cur_pos, i - cur_pos))); cur_pos = i + 1; } } if (inside_subtype) { return errors::FailedPrecondition( absl::StrCat("Syntax error: expected a ')' in input data types '",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 10.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check_test.go
errList = filemap[line] } // At least one of the errors in errList should match the current error. indices = indices[:0] for i, want := range errList { pattern, substr := strings.CutPrefix(want.Msg, " ERROR ") if !substr { var found bool pattern, found = strings.CutPrefix(want.Msg, " ERRORx ") if !found { panic("unreachable") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 13.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/mangling_util.cc
bool IsMangledAttributeName(absl::string_view str) { return absl::StartsWith(str, kAttributePrefix); } absl::string_view DemangleAttributeName(absl::string_view str) { DCHECK(IsMangledAttributeName(str)); return str.substr(std::strlen(kAttributePrefix)); } MangledKind GetMangledKind(absl::string_view str) { if (absl::StartsWith(str, kDataTypePrefix)) { return MangledKind::kDataType;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3.2K bytes - Viewed (0)