Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 190 for vecotr (0.2 sec)

  1. src/crypto/internal/hpke/hpke_test.go

    	vectorsJSON, err := os.ReadFile("testdata/rfc9180-vectors.json")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	var vectors []struct {
    		Name        string
    		Setup       string
    		Encryptions string
    	}
    	if err := json.Unmarshal(vectorsJSON, &vectors); err != nil {
    		t.Fatal(err)
    	}
    
    	for _, vector := range vectors {
    		t.Run(vector.Name, func(t *testing.T) {
    			setup := parseVectorSetup(vector.Setup)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.h

      // Given the required_consts, it will fill the 3 output vectors with
      // their respective data.
      // Expressions: Output XLA expressions as required by the compiled kernel.
      // Tensors: Vector of tensors that back the TensorValue inputs
      // Inputs: Vector of inputs that are backed by tensors.
      mlir::LogicalResult PrepareKernelInputs(
          const llvm::SmallDenseSet<int>& required_consts,
          std::vector<tensorflow::XlaExpression>& expressions,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.cc

    #include <cstdint>
    #include <map>
    #include <optional>
    #include <string>
    #include <utility>
    #include <vector>
    
    #include "flatbuffers/buffer.h"  // from @flatbuffers
    #include "flatbuffers/flatbuffer_builder.h"  // from @flatbuffers
    #include "flatbuffers/string.h"  // from @flatbuffers
    #include "flatbuffers/vector.h"  // from @flatbuffers
    #include "llvm/Support/Casting.h"
    #include "mlir/Dialect/Arith/IR/Arith.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/crypto/rsa/pss_test.go

    	}
    }
    
    // TestPSSGolden tests all the test vectors in pss-vect.txt from
    // ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-1/pkcs-1v2-1-vec.zip
    func TestPSSGolden(t *testing.T) {
    	inFile, err := os.Open("testdata/pss-vect.txt.bz2")
    	if err != nil {
    		t.Fatalf("Failed to open input file: %s", err)
    	}
    	defer inFile.Close()
    
    	// The pss-vect.txt file contains RSA keys and then a series of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. tensorflow/cc/client/client_session.cc

      return options;
    }
    
    Status ClientSession::Run(const std::vector<Output>& fetch_outputs,
                              std::vector<Tensor>* outputs) const {
      return Run(FeedType{}, fetch_outputs, {}, outputs);
    }
    
    Status ClientSession::Run(const FeedType& inputs,
                              const std::vector<Output>& fetch_outputs,
                              std::vector<Tensor>* outputs) const {
      return Run(inputs, fetch_outputs, {}, outputs);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 09:04:10 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

        @SuppressWarnings("unused")
        @Test
        public void testIterable() throws Exception {
            final Vector<String> vector = new Vector<String>();
            vector.add("a");
            vector.add("b");
            int count = 0;
            for (final String s : iterable(vector.elements())) {
                ++count;
            }
            assertThat(count, is(2));
        }
    
        /**
         * Test method for
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_mlir.h

        bool use_tuple_args, XlaCompiler::CompilationResult* compilation_result,
        std::vector<std::unique_ptr<mlir::Pass>>& custom_legalization_passes,
        const std::vector<TensorShape>& arg_shapes,
        std::vector<tpu::ShardingAndIndex>* arg_core_mapping,
        std::vector<std::vector<xla::Shape>>* per_core_arg_shapes);
    
    // Compiles a serialized MLIR module into XLA HLO, generates all accompanying
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. tensorflow/cc/framework/while_gradients.cc

    Output ToOutput(OutputTensor output_tensor) {
      return Output(const_cast<Node*>(output_tensor.node), output_tensor.index);
    }
    
    std::vector<Output> ToOutputVector(
        const std::vector<OutputTensor>& output_tensors) {
      const int n = output_tensors.size();
      std::vector<Output> result;
      result.reserve(n);
      for (int i = 0; i < n; ++i) result.push_back(ToOutput(output_tensors[i]));
      return result;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. tensorflow/cc/framework/cc_op_gen_util.h

             const std::vector<string>& aliases);
      OpInfo(const OpDef& graph_op_def, const ApiDef& api_def);
      string GetOpAttrStruct() const;
      string GetConstructorDecl(StringPiece op_name_prefix,
                                bool include_attr) const;
    
      string op_name;
      std::vector<string> arg_types;
      std::vector<string> arg_names;
      std::vector<string> output_types;
      std::vector<string> output_names;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. tensorflow/cc/ops/while_loop.cc

    std::vector<OutputTensor> ToOutputTensors(const std::vector<Output>& outputs) {
      std::vector<OutputTensor> result(outputs.size());
      for (int i = 0; i < outputs.size(); ++i) {
        result[i] = ToOutputTensor(outputs[i]);
      }
      return result;
    }
    
    // Utility function for converting to internal C++ datatypes.
    std::vector<Node*> ToNodes(const std::vector<Output>& outputs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 01:01:21 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top