Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for foobody (0.37 sec)

  1. tensorflow/c/c_api_function.cc

    // Performs various checks.
    Status ComputeBodyNodes(
        const TF_Graph* fn_body, const char* fn_name, int num_opers,
        const TF_Operation* const* opers,
        const std::unordered_map<const Node*, std::vector<int>>& input_nodes,
        std::vector<const Node*>* body_nodes)
        TF_EXCLUSIVE_LOCKS_REQUIRED(fn_body->mu) {
      if (num_opers == -1) {
        for (const Node* node : fn_body->graph.op_nodes()) {
          const auto& iter = input_nodes.find(node);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun formBody() {
        val formBody: FormBody = FormBody.Builder().build()
        val size: Int = formBody.size
        val encodedName: String = formBody.encodedName(0)
        val name: String = formBody.name(0)
        val encodedValue: String = formBody.encodedValue(0)
        val value: String = formBody.value(0)
        val contentType: MediaType = formBody.contentType()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  3. src/net/http/clientserver_test.go

    		}
    	}))
    
    	res, err := cst.c.Get(cst.ts.URL)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer res.Body.Close()
    
    	gotBody, _ := io.ReadAll(res.Body)
    	if !bytes.Equal(gotBody, wantBody) {
    		t.Fatalf("got response body: %q; want %q", gotBody, wantBody)
    	}
    }
    
    // Verify that both our HTTP/1 and HTTP/2 request and auto-decompress gzip.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  4. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

          val level = this.level
    
          val request = chain.request()
          if (level == Level.NONE) {
            return chain.proceed(request)
          }
    
          val logBody = level == Level.BODY
          val logHeaders = logBody || level == Level.HEADERS
    
          val requestBody = request.body
    
          val connection = chain.connection()
          var requestStartMessage =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/compilability_check_util.cc

    }
    
    tensorflow::MemoryTypeVector GetOutputMemoryTypes(
        const tensorflow::FunctionBody* fbody) {
      tensorflow::MemoryTypeVector output_memory_types(fbody->ret_types.size(),
                                                       tensorflow::DEVICE_MEMORY);
      for (size_t i = 0; i < fbody->ret_types.size(); ++i) {
        if (fbody->ret_types[i] == tensorflow::DT_RESOURCE) {
          output_memory_types[i] = tensorflow::HOST_MEMORY;
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. src/syscall/exec_linux_test.go

    	if userns {
    		cmd.SysProcAttr.Cloneflags = syscall.CLONE_NEWUSER
    		const nobody = 65534
    		uid := os.Getuid()
    		gid := os.Getgid()
    		cmd.SysProcAttr.UidMappings = []syscall.SysProcIDMap{{
    			ContainerID: int(nobody),
    			HostID:      uid,
    			Size:        int(1),
    		}}
    		cmd.SysProcAttr.GidMappings = []syscall.SysProcIDMap{{
    			ContainerID: int(nobody),
    			HostID:      gid,
    			Size:        int(1),
    		}}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/get_compiler_ir.cc

    BuildXlaCompilerArgumentFromTensorSpec(
        const FunctionBody* fbody, absl::Span<int const> must_be_constant_idxs,
        absl::Span<const Tensor* const> inputs,
        absl::Span<VariableInfo const> variable_args,
        absl::Span<const ArgShapeAndDType> flat_arg_shape_and_dtype) {
      TF_RET_CHECK(fbody != nullptr);
      auto& input_args = fbody->record->fdef().signature().input_arg();
      int input_arg_size = input_args.size();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/rearrange_function_argument_pass_test.cc

          [&](const NameAttrList &function, const FunctionBody **fbody) {
            std::unique_ptr<FunctionBody> new_fbody;
            TF_RETURN_IF_ERROR(FunctionDefToBodyHelper(*fld.Find(function.name()),
                                                       AttrSlice(&function.attr()),
                                                       &fld, &new_fbody));
            *fbody = new_fbody.get();
            fbodies.push_back(std::move(new_fbody));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. internal/rest/client.go

    		// and have the http package also treat that sentinel
    		// variable to mean explicitly zero.
    		if req.GetBody != nil && req.ContentLength == 0 {
    			req.Body = http.NoBody
    			req.GetBody = func() (io.ReadCloser, error) { return http.NoBody, nil }
    		}
    	}
    
    	if c.newAuthToken != nil {
    		req.Header.Set("Authorization", "Bearer "+c.newAuthToken(u.RawQuery))
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/python/mlir.cc

        tsl::Set_TF_Status_from_Status(status, s);
        return "// error";
      }
    
      std::unique_ptr<tensorflow::FunctionBody> fbody;
      s = FunctionDefToBodyHelper(*fdef, tensorflow::AttrSlice(), &flib_def,
                                  &fbody);
      if (!s.ok()) {
        tsl::Set_TF_Status_from_Status(status, s);
        return "// error";
      }
    
      mlir::DialectRegistry registry;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top