- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 2,917 for const3 (0.14 sec)
-
tensorflow/compiler/jit/mark_for_compilation_pass_test.cc
// done in parallel. // // This graph is: // (Const0, Const0) -> MatMul0 // (Const1, Const1) -> MatMul1 // (MatMul0, MatMul1) -> MatMulCombined // // Device0: [Const0, Const0, MatMul0] // Device1: [Const1, Const1, MatMul1, MatMulCombined] // // Cluster0: [Const0, Const0, MatMul0] // Cluster1: [Const1, Const1, MatMul1] // Cluster2: [MatMulCombined]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 10:11:10 UTC 2024 - 79.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/common/cost.h
namespace mlir { namespace TFL { namespace tac { // Cost attribute string on the TFL dialect. constexpr char kCost[] = "tac.cost"; inline void UpdateCost(Operation* op, float cost, OpBuilder* builder) { op->setAttr(kCost, builder->getF32FloatAttr(cost)); } // Get the cost annotated with kCost. inline bool GetCostOnOp(Operation* op, float* cost) { auto cost_type = op->getAttrOfType<FloatAttr>(kCost);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 21 01:22:53 UTC 2021 - 1.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/tests/compute-cost.mlir
// RUN: tac-opt-all-backends -tfl-compute-cost %s -split-input-file -verify-diagnostics | FileCheck %s // CHECK: tac.cost = 7.864320e+05 func.func @func_0_CPU(%arg0: tensor<256x32x32x3xf32>, %arg1: tensor<256x32x32x3xf32>) -> tensor<256x32x32x3xf32> attributes {tac.device = "CPU", tac.interface_name = "func_0"} { %0 = "tfl.add"(%arg0, %arg1) {fused_activation_function = "RELU", tac.device = "CPU"} : (tensor<256x32x32x3xf32>, tensor<256x32x32x3xf32>) -> tensor<256x32x32x3xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 24 05:29:10 UTC 2022 - 4.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/package.go
func (pkg *Package) GoVersion() string { return pkg.goVersion } // Scope returns the (complete or incomplete) package scope // holding the objects declared at package level (TypeNames, // Consts, Vars, and Funcs). // For a nil pkg receiver, Scope returns the Universe scope. func (pkg *Package) Scope() *Scope { if pkg != nil { return pkg.scope } return Universe }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 06 13:09:19 UTC 2023 - 2.9K bytes - Viewed (0) -
src/go/doc/example_test.go
) func (Conflict) Conflict() {} func GFunc[T any]() {} type GType[T any] int func (GType[T]) M() {} ` const test = ` package p_test func ExampleConst1() {} // invalid - no support for consts and vars func ExampleVar1() {} // invalid - no support for consts and vars func Example() {} func Example_() {} // invalid - suffix must start with a lower-case letter
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 10 16:17:51 UTC 2022 - 9.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/tests/get-op-cost.mlir
// RUN: tac-opt-all-backends -tfl-get-op-cost %s -split-input-file -verify-diagnostics | FileCheck %s func.func @func_0_CPU(%arg0: tensor<256x32x32x3xf32>, %arg1: tensor<256x32x32x3xf32>) -> tensor<256x32x32x3xf32> attributes {tac.device = "CPU", tac.interface_name = "func_0"} { // CHECK: tac.cost = 7.864320e+05 %0 = "tfl.add"(%arg0, %arg1) {fused_activation_function = "RELU", tac.device = "CPU"} : (tensor<256x32x32x3xf32>, tensor<256x32x32x3xf32>) -> tensor<256x32x32x3xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 24 05:29:10 UTC 2022 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/components/tf_to_stablehlo.mlir
// COM: CHECK-DAG: %[[CONST:.*]] = stablehlo.constant dense<{{.*}}> : tensor<1x1x2x8xf32> // COM: CHECK: return %[[CONST]] : tensor<1x1x2x8xf32> func.func @fused_batchnorm_no_training_arg_input(%arg_0: tensor<1x1x2x8xf32>) -> (tensor<1x1x2x8xf32>) { %cst_0 = "tf.Const"() {value = dense<[0.1, 0.2, 0.1, 0.2, 0.1, 0.2, 0.1, 0.2]> : tensor<8xf32>} : () -> tensor<8xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 08 20:05:12 UTC 2024 - 13.6K bytes - Viewed (0) -
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)