Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 56 for substVar (0.16 sec)

  1. tensorflow/compiler/mlir/lite/metrics/error_collector_inst.cc

                if (absl::StartsWith(note_str, kErrorCodePrefix)) {
                  error_code = note_str.substr(sizeof(kErrorCodePrefix) - 1);
                }
    
                error_message += "\n";
                if (note_str.size() <= kMaxAcceptedNoteSize) {
                  error_message += note_str;
                } else {
                  error_message += note_str.substr(0, kMaxAcceptedNoteSize);
                  error_message += "...";
                }
              }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 01:48:36 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/main/resources/footer.html

        function getCurrentChapterFileName(givenUrl) {
            var currentChapterFileName = givenUrl.substr(givenUrl.lastIndexOf("/") + 1);
            if (currentChapterFileName === "index.html" || currentChapterFileName === "") {
                currentChapterFileName = givenUrl.substr(0, givenUrl.lastIndexOf("/"));
                currentChapterFileName = currentChapterFileName.substr(currentChapterFileName.lastIndexOf("/") + 1) + "/index.html";
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 09:28:20 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top