Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 153 for _encapsulate (0.15 sec)

  1. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

        Node* c = Unary(a, b1.opts().WithName("C").WithAttr("_encapsulate", "F1"));
        Node* d =
            Binary(b, c, b1.opts().WithName("D").WithAttr("_encapsulate", "F1"));
        Node* e = Binary(c, d,
                         b1.opts()
                             .WithName("E")
                             .WithControlInputs({b, d})
                             .WithAttr("_encapsulate", "F1")
                             .WithAttr("_outside", "O1"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  2. src/html/template/content.go

    	//
    	// Use of this type presents a security risk:
    	// the encapsulated content should come from a trusted source,
    	// as it will be included verbatim in the template output.
    	HTML string
    
    	// HTMLAttr encapsulates an HTML attribute from a trusted source,
    	// for example, ` dir="ltr"`.
    	//
    	// Use of this type presents a security risk:
    	// the encapsulated content should come from a trusted source,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:30:25 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/encapsulate_xla_computations_pass_test.cc

                  result.ret_types);
        TF_EXPECT_GRAPH_EQ(expected_body_def, result.gdef);
      }
    
      // Encapsulates the same computation again, verifies we reuse the same
      // function. Encapsulation should be deterministic to avoid recompilation.
      TF_ASSERT_OK(
          EncapsulateXlaComputationsPass::Encapsulate(&graph_copy, &flib_def));
      std::unordered_map<string, Node*> index_copy =
          graph_copy->BuildNodeNameIndex();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 18:03:15 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  4. src/crypto/internal/mlkem768/mlkem768_test.go

    	for i := 0; i < len(ek)-1; i++ {
    		if _, _, err := Encapsulate(ek[:i]); err == nil {
    			t.Errorf("expected error for ek length %d", i)
    		}
    	}
    	ekLong := ek
    	for i := 0; i < 100; i++ {
    		ekLong = append(ekLong, 0)
    		if _, _, err := Encapsulate(ekLong); err == nil {
    			t.Errorf("expected error for ek length %d", len(ekLong))
    		}
    	}
    
    	c, _, err := Encapsulate(ek)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:27:18 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/encapsulate_xla_computations_pass.h

      // This pass has two stages:
      // a) first, we call EncapsulateSubgraphsPass to encapsulate all nodes
      //    marked with the same _xla_compile_id attribute into functions. These
      //    functions contain the computations to be passed to XlaLaunch. During
      //    encapsulation, we sort the arguments into the order expected by
      //    XlaLaunch.
      static Status Encapsulate(std::unique_ptr<Graph>* graph,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/metadata/MetadataSource.java

         *
         * This method would encapsulates all version listing for a metadata source, supplying the result (if found) to the
         * {@link BuildableModuleVersionListingResolveResult} parameter.
         *
         * Ideally, the ivyPatterns + artifactPatterns + versionLister would be encapsulated into a single 'module resource accessor'.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_cluster_formation.cc

      cluster->setAttr(mlir::TF::kAllowSoftPlacementAttr,
                       builder.getBoolAttr(true));
    }
    
    // Encapsulate the first partitioned call that can be reached from
    // `func` and is with compilation markers in a device cluster. For nested calls,
    // if the outermost one has the markers, encapsulates the outermost call and
    // returns. Otherwise, we'll keep going through inner calls until we found one.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 19:09:44 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. src/crypto/internal/mlkem768/mlkem768.go

    	}
    
    	return dk
    }
    
    // Encapsulate generates a shared key and an associated ciphertext from an
    // encapsulation key, drawing random bytes from crypto/rand.
    // If the encapsulation key is not valid, Encapsulate returns an error.
    //
    // The shared key must be kept secret.
    func Encapsulate(encapsulationKey []byte) (ciphertext, sharedKey []byte, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  9. src/crypto/tls/key_schedule.go

    	K, err := mlkem768.Decapsulate(dk, c)
    	if err != nil {
    		return nil, err
    	}
    	return kyberSharedSecret(K, c), nil
    }
    
    // kyberEncapsulate implements encapsulation according to Kyber Round 3.
    func kyberEncapsulate(ek []byte) (c, ss []byte, err error) {
    	c, ss, err = mlkem768.Encapsulate(ek)
    	if err != nil {
    		return nil, nil, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/GradleEnterprisePluginServiceRef.java

    import org.gradle.internal.service.scopes.Scope;
    import org.gradle.internal.service.scopes.ServiceScope;
    
    /**
     * A service that provides the plugin service for the current build invocation.
     *
     * The plugin uses this to encapsulate its service in user facing code that may be cached.
     * This allows such cached code to use the plugin service for the current build when used from-cache.
     */
    @ServiceScope(Scope.BuildTree.class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top