Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for joinData (0.09 sec)

  1. src/go/build/build.go

    	// If OpenFile is nil, Import uses os.Open.
    	OpenFile func(path string) (io.ReadCloser, error)
    }
    
    // joinPath calls ctxt.JoinPath (if not nil) or else filepath.Join.
    func (ctxt *Context) joinPath(elem ...string) string {
    	if f := ctxt.JoinPath; f != nil {
    		return f(elem...)
    	}
    	return filepath.Join(elem...)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  2. src/net/url/url_test.go

    		if tt.out == "" {
    			wantErr = "non-nil error"
    		}
    		if out, err := JoinPath(tt.base, tt.elem...); out != tt.out || (err == nil) != (tt.out != "") {
    			t.Errorf("JoinPath(%q, %q) = %q, %v, want %q, %v", tt.base, tt.elem, out, err, tt.out, wantErr)
    		}
    		var out string
    		u, err := Parse(tt.base)
    		if err == nil {
    			u = u.JoinPath(tt.elem...)
    			out = u.String()
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:52:38 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

            "_", /*replace_all=*/true);
        if (!cloud_path_.empty()) {
          // We have to join path for non-local filesystem manually to make sure
          // that this test will run on Windows since `tensorflow::io::JoinPath`
          // behaves differently on Windows. `tmp_dir` should be something like
          // `path/to/tmp/dir/`. After joining path, we will have
          // /path/to/tmp/dir/tf_fs_rng_name/`
          root_dir_ = tensorflow::strings::StrCat(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 20:25:58 UTC 2022
    - 71K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_test.cc

    #if !defined(TENSORFLOW_NO_SHARED_OBJECTS)
      {
        // Load the library.
        TF_Status* status = TF_NewStatus();
        string lib_path = tensorflow::GetDataDependencyFilepath(
            tensorflow::io::JoinPath("tensorflow", "c", "test_op1.so"));
        TF_Library* lib = TF_LoadLibrary(lib_path.c_str(), status);
        TF_Code code = TF_GetCode(status);
        string status_msg(TF_Message(status));
        TF_DeleteStatus(status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

                           disable_per_channel_for_dense_layers);
    }
    
    std::unique_ptr<FlatBufferModel> ReadModel(const string& model_name) {
      auto model_path = tensorflow::io::JoinPath(*g_test_model_dir, model_name);
      return FlatBufferModel::BuildFromFile(model_path.c_str());
    }
    
    template <typename T>
    std::vector<T> GetAsVector(const flatbuffers::Vector<T>* vec) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
Back to top