- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 2,266 for const3 (0.32 sec)
-
tensorflow/compiler/jit/build_xla_ops_pass.cc
absl::StatusOr<Node*> ReplaceFunctionCallWithPartitionedCall( const GraphOptimizationPassOptions& options, const FunctionLibraryDefinition& flib_def, Node* n, Graph* g, const NameAttrList& func, const Scope& root) { string config_string = options.session_options->config.SerializeAsString(); int input_count = absl::c_count_if( n->in_edges(), [](const Edge* e) { return !e->IsControlEdge(); });
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 24.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/fold_constants_to_subgraph.cc
namespace tac { namespace { // This pass is used to fold tfl.const ops to each subgraph (func::FuncOp): // See the example below: // // In main: // %0 = tfl.const... // %1 = tfl.const... // %2 = call func_1(..., %0,...) // %3 = call func_2(..., %0, ..., %1...) // ... // // Then those consts will be copied into each function and replace their usage. // func_1: // %0 = tfl.const... // func_2: // %0 = tfl.const...
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.1K bytes - Viewed (0) -
src/internal/types/testdata/check/conversions0.go
) // numeric constant conversions are in const1.src. func string_conversions() { const A = string(65) assert(A == "A") const E = string(-1) assert(E == "\uFFFD") assert(E == string(1234567890)) type myint int assert(A == string(myint(65))) type mystring string const _ mystring = mystring("foo") const _ = string(true /* ERROR "cannot convert" */ ) const _ = string(1.2 /* ERROR "cannot convert" */ )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 02:58:32 UTC 2022 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/logical.mlir
// CHECK-NEXT: buffer: 2, // CHECK-NEXT: name: "Const1", // CHECK-NEXT: quantization: { // CHECK-EMPTY: // CHECK-NEXT: }, // CHECK-NEXT: has_rank: true // CHECK-NEXT: }, { // CHECK-NEXT: shape: [ 4 ], // CHECK-NEXT: type: BOOL, // CHECK-NEXT: buffer: 3, // CHECK-NEXT: name: "Const2", // CHECK-NEXT: quantization: { // CHECK-EMPTY:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 14 16:41:28 UTC 2022 - 3.6K bytes - Viewed (0) -
src/internal/types/testdata/check/constdecl.go
package constdecl import "math" import "unsafe" var v int // Const decls must be initialized by constants. const _ = v /* ERROR "not constant" */ const _ = math /* ERROR "not constant" */ .Sin(0) const _ = int /* ERROR "not an expression" */ func _() { const _ = v /* ERROR "not constant" */ const _ = math /* ERROR "not constant" */ .Sin(0) const _ = int /* ERROR "not an expression" */ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 16:11:16 UTC 2023 - 3.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/while_op.mlir
%cst = arith.constant dense<0> : tensor<i32> loc("Const") %0 = "tfl.greater"(%arg0, %cst) : (tensor<*xi32>, tensor<i32>) -> tensor<i1> func.return %0 : tensor<i1> } func.func @body(%arg0: tensor<*xi32>, %arg1: tensor<*xf32>) -> (tensor<*xi32>, tensor<*xf32>) { %cst = arith.constant dense<1> : tensor<i32> loc("Const")
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 14 16:41:28 UTC 2022 - 7.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_restore_op.cc
// Creates a 1D string array constant for "shape_and_slices" input of // `RestoreV2` op. The `ConstOp` will be created at `builder`'s current // insertion point. It will be filled with `size` empty strings. TF::ConstOp CreateShapeAndSlicesConst(const int size, OpBuilder& builder) { const SmallVector<std::string> shape_and_slices_values(size, /*Value=*/""); const auto loc = NameLoc::get(builder.getStringAttr("shape_and_slices"));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Mar 12 06:02:20 UTC 2023 - 9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir
// CHECK-DAG: %[[CONST1:.*]] = "tf.Const"() <{value = dense<[0, 3, 1, 2]> : tensor<4xi32>}> // CHECK-DAG: %[[CONST2:.*]] = "tf.Const"() <{value = dense<[0, 2, 3, 1]> : tensor<4xi32>}> // CHECK: %[[TRANS1:.*]] = "tf.Transpose"(%arg0, %[[CONST1]]) : (tensor<1x4x4x8xf32>, tensor<4xi32>) -> tensor<1x8x4x4xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 132.1K bytes - Viewed (0) -
src/crypto/sha512/sha512block_arm64.s
VREV64 V14.B16, V14.B16 VREV64 V15.B16, V15.B16 VREV64 V16.B16, V16.B16 VREV64 V17.B16, V17.B16 VREV64 V18.B16, V18.B16 VREV64 V19.B16, V19.B16 MOVD R3, R4 // load first 4 round consts in V20-V23 VLD1.P 64(R4), [V20.D2, V21.D2, V22.D2, V23.D2] SHA512ROUND(V0, V1, V2, V3, V4, V20, V24, V12, V13, V19, V16, V17) SHA512ROUND(V3, V0, V4, V2, V1, V21, V25, V13, V14, V12, V17, V18)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.cc
// Populates a TPUCompileMetadataProto from attributes of a // `tf_device::ClusterFuncOp`. If any necessary attributes are missing from the // op, a failure will be returned. // TODO(lyandy): Support session handle and guaranteed consts. LogicalResult SetMetadataProtoFromClusterFuncOp( tf_device::ClusterFuncOp op, int num_replicas, int num_cores_per_replica, std::optional<xla::DeviceAssignmentProto>&& xla_device_assignment,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.3K bytes - Viewed (0)