Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 631 for _Assign (0.16 sec)

  1. tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/saved_model.pbtxt

            value: "\n\003a:0\022\010a/Assign\032\010a/read:0"
            value: "\n\003b:0\022\010b/Assign\032\010b/read:0"
            value: "\n\003c:0\022\010c/Assign\032\010c/read:0"
          }
        }
      }
      collection_def {
        key: "variables"
        value {
          bytes_list {
            value: "\n\003a:0\022\010a/Assign\032\010a/read:0"
            value: "\n\003b:0\022\010b/Assign\032\010b/read:0"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 26 01:10:27 UTC 2017
    - 46.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/target.pbtxt

      }
      attr {
        key: "shape"
        value {
          shape {
          }
        }
      }
      attr {
        key: "shared_name"
        value {
          s: ""
        }
      }
    }
    node {
      name: "Variable/Assign"
      op: "Assign"
      input: "Variable"
      input: "Variable/initial_value"
      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "_class"
        value {
          list {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:53:21 UTC 2020
    - 4.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tf_device_assignment.cc

          if (auto device_attr = op->getAttrOfType<StringAttr>(kDeviceAttr)) {
            // We assign default device to ops with device attribute that is empty.
            if (device_attr.getValue().empty()) {
              op->setAttr(kDeviceAttr, builder.getStringAttr(default_device_));
            }
          } else if (op->getDialect() == tf) {
            // Assign default device to all ops in Tensorflow dialect that do not
            // have device attribute.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  4. src/internal/types/testdata/fixedbugs/issue52401.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    func _() {
    	const x = 0
    	x /* ERROR "cannot assign to x" */ += 1
    	x /* ERROR "cannot assign to x" */ ++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 277 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/test_resource_alias_analysis.cc

          }
        };
    
        // Assign a unique ID to each value seen in this function.
        func.walk([&](Operation* op) {
          // For all attached regions, assign ID to the region arguments.
          for (Region& region : op->getRegions()) {
            for (auto region_arg : TF::filter_resources(region.getArguments()))
              assign_id(region_arg);
          }
    
          // Assign ID for all results.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  6. test/fixedbugs/bug248.dir/bug2.go

    var p0i1 p0.I = t1(0) // ERROR "does not implement|incompatible"
    var p0i2 p1.I = t0(0) // ERROR "does not implement|incompatible"
    
    func foobar() {
    	// check that cannot assign one to the other,
    	// but can convert.
    	v0 = v1 // ERROR "assign|cannot use"
    	v1 = v0 // ERROR "assign|cannot use"
    
    	v0 = p0.T(v1)
    	v1 = p1.T(v0)
    
    	i0 = i1   // ERROR "cannot use|incompatible"
    	i1 = i0   // ERROR "cannot use|incompatible"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 19 06:26:35 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/convert_ref_variables.mlir

      // CHECK-NOT: tf.VariableV2
      // CHECK-NOT: tf.Assign
    
      // CHECK: [[handle:%.*]] = "tf.VarHandleOp"
      // CHECK-SAME: shared_name = "x"
      // CHECK: "tf.AssignVariableOp"([[handle]], {{%.*}})
      %0 = "tf.VariableV2"() {container = "", shape = #tf_type.shape<>, shared_name = "x"} : () -> tensor<!tf_type.int32ref>
      %1 = "tf.Const"() {value = dense<0> : tensor<i32>} : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc

      else
        ReplaceExecute(execute_launch, merged_execute_launch, var_access_info);
    
      // Remove the assign ops.
      for (const auto& entry : var_access_info.per_resource_info) {
        const auto& info = entry.getSecond();
        if (info.assign) info.assign->erase();
      }
    
      // Remove the read ops if they have no more uses.
      for (const auto& entry : var_access_info.per_resource_info) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 17:52:11 UTC 2024
    - 27K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RuleVisitor.java

        private static final String INPUTS_FIELD_NAME = "__inputs__";
        private static final String RULE_FACTORY_FIELD_NAME = "__rule_factory__";
        private static final Token ASSIGN = new Token(Types.ASSIGN, "=", -1, -1);
    
        private final String scriptSourceDescription;
        private final URI location;
        private final SourceUnit sourceUnit;
        private InputReferences inputs;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  10. tests/upsert_test.go

    	DB.Where(&User{Name: "find or create 3"}).Assign("age", 55).FirstOrCreate(&user4)
    
    	if user4.Age != 55 {
    		t.Errorf("Failed to set change to 55, got %v", user4.Age)
    	}
    
    	if updatedAt1.Format(time.RFC3339Nano) == user4.UpdatedAt.Format(time.RFC3339Nano) {
    		t.Errorf("UpdateAt should be changed when update values with assign")
    	}
    
    	DB.Where(&User{Name: "find or create 4"}).Assign(User{Age: 44}).FirstOrCreate(&user4)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Sep 05 07:39:19 UTC 2022
    - 11.4K bytes
    - Viewed (0)
Back to top