- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 91 for CST (0.07 sec)
-
tensorflow/compiler/mlir/tfrt/tests/sink_in_invariant_ops.mlir
// CHECK: tf.VarHandleOp %0 = "tf.VarHandleOp"() {container = "", shared_name = "x"} : () -> tensor<!tf_type.resource<tensor<i32>>> %cst = "tf.Const"() {device = "/CPU:0", value = dense<true> : tensor<i1>} : () -> tensor<i1> // CHECK: "tf.If"(%cst, %0) %1 = "tf.If"(%cst, %0) {then_branch = @some_func, else_branch = @some_func, is_stateless = false} : (tensor<i1>, tensor<!tf_type.resource<tensor<i32>>>) -> tensor<i32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 21K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc
// can't lower tf.Const. Value cst; if (use_mhlo_const) { cst = builder.create<mhlo::ConstantOp>(func_op->getLoc(), attrs); } else { cst = builder.create<TF::ConstOp>(func_op->getLoc(), attrs); } func_op.getArgument(i).replaceAllUsesWith(cst); } return module_op; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 03 01:03:21 UTC 2024 - 35.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/testdata/func_with_dead_ops.mlir
%9 = "tf.Const"() <{value = dense<"test"> : tensor<3x!tf_type.string>}> : () -> tensor<3x!tf_type.string> %cst = "tf.Const"() <{value = dense<0> : tensor<i32>}> : () -> tensor<i32> %11:4 = "tf.Split"(%cst, %0) {num_split = 4 : i32} : (tensor<i32>, tensor<128x1024xf32>) -> (tensor<32x1024xf32>, tensor<32x1024xf32>, tensor<32x1024xf32>, tensor<32x1024xf32>)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 13 23:22:50 UTC 2024 - 15.3K bytes - Viewed (0) -
src/internal/coverage/cfile/emit.go
// We found a function that was executed. nCtrs := sd[i+coverage.NumCtrsOffset].Load() pkgId := sd[i+coverage.PkgIdOffset].Load() funcId := sd[i+coverage.FuncIdOffset].Load() cst := i + coverage.FirstCtrOffset counters := sd[cst : cst+int(nCtrs)] // Check to make sure that we have at least one live // counter. See the implementation note in ClearCoverageCounters // for a description of why this is needed.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 18.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc
getOperation().walk([&](mlir::TF::ConstOp cst) { auto dict = cst->getAttrDictionary(); if (dict.size() == 1) { return; // Optimization. Assume the one attribute is "value". } // Recreate the attributes dictionary to only contain "value". NamedAttrList attributes; attributes.append(NamedAttribute(value_str_attr, cst->getAttr("value"))); cst->setAttrs(attributes.getDictionary(&getContext()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 22:03:30 UTC 2024 - 39.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GroovyScriptClassCompiler.java
} @Override public void visitLdcInsn(Object cst) { super.visitLdcInsn(remap(cst)); } @Override public void visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:23:24 UTC 2024 - 23.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/control_flow.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 00:40:32 UTC 2024 - 17.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.h
void SetupAllStates(); // Returns Whether the constant is a weight, which shouldn't be shared by // different ops. bool IsWeight(Operation* cst) { return llvm::is_contained(weights_, cst); } // Returns all the related quantization constraints of the op. std::unique_ptr<OpQuantSpec> GetQuantSpec(Operation* op); std::unique_ptr<OpQuantScaleSpec> GetQuantScaleSpec(Operation* op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 11:42:17 UTC 2024 - 16.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/tests/decompose.mlir
} // CHECK-LABEL: decompose_quant_rescale func.func @decompose_quant_rescale(%arg0: tensor<2xi32>) -> !tfr.tensor { %zp = arith.constant 67 : i64 %cst = "tf.Const"() {value = dense<1.0> : tensor<f32>} : () -> tensor<f32> %scale_factor = "tfr.cast"(%cst) : (tensor<f32>) -> !tfr.tensor %input = "tfr.cast"(%arg0) : (tensor<2xi32>) -> !tfr.tensor
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 16.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tensor_list_ops_decomposition.mlir
// CHECK: %[[CST:.*]] = "tf.Const"() <{value = dense<1> : tensor<i32>}> : () -> tensor<i32> // CHECK: %[[SUB:.*]] = "tf.Sub"(%[[CARG1]], %[[CST]]) // CHECK: %[[ELEM:.*]] = "tf._SomeOp"() : () -> tensor<f32> %cst = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32> %sub = "tf.Sub"(%arg1, %cst) : (tensor<i32>, tensor<i32>) -> tensor<i32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 38.6K bytes - Viewed (0)