- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 946 for vecotr (0.17 sec)
-
test/fixedbugs/bug054.go
package main type Element interface { } type Vector struct { elem []Element; } func (v *Vector) At(i int) Element { return v.elem[i]; } type TStruct struct { name string; fields *Vector; } func (s *TStruct) field(i int) *TStruct { return s.fields.At(i).(*TStruct); } func main() { v := new(Vector); v.elem = make([]Element, 10); t := new(TStruct); t.name = "hi";
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:48:57 UTC 2012 - 669 bytes - Viewed (0) -
tensorflow/compiler/jit/extract_outside_compilation_pass.cc
} // Returns nodes with given type. std::vector<Node*> GatherNodesWithType(const Graph& g, const string& type) { std::vector<Node*> result; for (Node* n : g.nodes()) { if (n->type_string() == type) { result.push_back(n); } } return result; } // Gets data types from `arg_nodes` and fills them into `recv_at_host_dtypes`. Status GetArgDataTypes(const std::vector<Node*>& arg_nodes,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 104.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/tests/ops.mlir
} // ----- func.func @constant_tensor_invalid_1(%arg0: vector<1xi32>) -> tensor<?xi32> { // expected-error@+1 {{output type should be static and ranked}} %0 = "tfr.constant_tensor"(%arg0) : (vector<1xi32>) -> tensor<?xi32> func.return %0 : tensor<?xi32> } // ----- func.func @constant_tensor_invalid_2(%arg0: vector<1xi32>) -> tensor<1xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jan 14 22:15:06 UTC 2023 - 13.1K bytes - Viewed (0) -
tensorflow/cc/saved_model/fingerprinting_utils.h
PruneChunkedMessage( const ::tensorflow::proto_splitter::ChunkedMessage& chunked_message, riegeli::RecordReader<riegeli::FdReader<>>& reader, std::vector<::tensorflow::proto_splitter::ChunkInfo> chunks_info, std::vector<RepeatedPtrField<::tensorflow::proto_splitter::FieldIndex>> target_fields_list); // Deterministically serializes the proto `message`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 20 22:19:55 UTC 2024 - 5.9K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/test_utils.cc
/* cluster_flr= */ nullptr)); } std::vector<DataType> DataTypeSetToVector(DataTypeSet set) { std::vector<DataType> result; result.reserve(set.size()); for (DataType dt : set) { result.push_back(dt); } return result; } std::vector<std::vector<int64_t>> InterestingShapes() { std::vector<std::vector<int64_t>> interesting_shapes;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Sep 08 20:13:32 UTC 2023 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo.cc
llvm::StringRef device_type, XlaShapeLayoutHelpers::ShapeDeterminationFns shape_determination_fns, const std::vector<tensorflow::TensorShape>& arg_shapes, std::vector<tpu::ShardingAndIndex>* arg_core_mapping, std::vector<std::vector<xla::Shape>>* per_core_arg_shapes, std::vector<std::unique_ptr<mlir::Pass>>& custom_legalization_passes, xla::CompileOnlyClient* client, XlaCompilationResult* compilation_result) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 20:29:34 UTC 2024 - 3.7K bytes - Viewed (0) -
tensorflow/cc/framework/gradients_test.cc
// the gradient w.r.t. to 'x' (returned in grad_outputs[1]). auto dz = Const(scope_test_, {{5}}); std::vector<Output> grad_outputs; TF_ASSERT_OK( AddSymbolicGradients(scope_test_, {z}, {v, x}, {dz}, &grad_outputs)); std::vector<Tensor> outputs; test::GetTensors(scope_test_, {grad_outputs[0], grad_outputs[1]}, &outputs);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 15 15:13:38 UTC 2023 - 25K bytes - Viewed (0) -
tensorflow/cc/client/client_session_test.cc
thread_pool.Schedule([&session, a]() { std::vector<Tensor> outputs; TF_EXPECT_OK(session.Run({a}, &outputs)); test::ExpectTensorEqual<int>(outputs[0], test::AsTensor<int>({4, 6}, {2})); }); thread_pool.Schedule([&session, b]() { std::vector<Tensor> outputs; TF_EXPECT_OK(session.Run({b}, &outputs));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 9.5K bytes - Viewed (0) -
src/internal/bytealg/count_s390x.s
MOVBZ (R_TMP), R_TMP // load bool indicating support for vector facility CGIJ $EQ, R_TMP, $0, novx // jump to scalar code if the vector facility is not available // Start of vector code (have vector facility). // // Set R_LEN to be the length mod 16 minus 1 to use as an index for // vector 'load with length' (VLL). It will be in the range [-1,14]. // Also replicate c across a 16-byte vector and initialize V_ZERO. ANDW $0xf, R_LEN
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 15 21:04:43 UTC 2019 - 5.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf.h
llvm::StringRef device_type, std::vector<std::unique_ptr<mlir::Pass>>& custom_legalization_passes, XlaShapeLayoutHelpers::ShapeDeterminationFns shape_determination_fns, const std::vector<tensorflow::TensorShape>& arg_shapes, std::vector<tpu::ShardingAndIndex>* arg_core_mapping, std::vector<std::vector<xla::Shape>>* per_core_arg_shapes, xla::CompileOnlyClient* client);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 07:32:57 UTC 2024 - 2.9K bytes - Viewed (0)