Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 279 for attr_ (0.04 sec)

  1. tensorflow/compiler/jit/xla_cluster_util.cc

      if (flib_def.Find(n.type_string())) {
        NameAttrList callee;
        callee.set_name(n.type_string());
        *callee.mutable_attr() = n.def().attr();
        return {callee};
      }
    
      CallTargetListTy result;
      for (const auto& name_attr_pair : n.attrs()) {
        const AttrValue& attr_value = name_attr_pair.second;
        if (attr_value.value_case() == AttrValue::kFunc) {
          result.push_back(attr_value.func());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/fuzzing/cc_op_fuzz_gen.cc

      if (attr.has_minimum()) {
        if (attr.type() == "int") {
          return absl::StrCat(attr.minimum());
        } else if (attr.type() == "list(int)") {
          std::vector<int> v(attr.minimum());
          for (int i = 0; i < v.size(); ++i) v[i] = i;
          std::string s = strings::StrCat("{", absl::StrJoin(v, ","), "}");
          return s;
        }
      }
      if (attr.has_allowed_values()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 27 16:26:51 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_without_identity.pbtxt

      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "data_format"
        value {
          s: "NHWC"
        }
      }
      attr {
        key: "dilations"
        value {
          list {
            i: 1
            i: 1
            i: 1
            i: 1
          }
        }
      }
      attr {
        key: "explicit_paddings"
        value {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_without_identity_4bit.pbtxt

      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "data_format"
        value {
          s: "NHWC"
        }
      }
      attr {
        key: "dilations"
        value {
          list {
            i: 1
            i: 1
            i: 1
            i: 1
          }
        }
      }
      attr {
        key: "explicit_paddings"
        value {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel.pbtxt

      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "data_format"
        value {
          s: "NHWC"
        }
      }
      attr {
        key: "dilations"
        value {
          list {
            i: 1
            i: 1
            i: 1
            i: 1
          }
        }
      }
      attr {
        key: "explicit_paddings"
        value {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel_4bit.pbtxt

      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "data_format"
        value {
          s: "NHWC"
        }
      }
      attr {
        key: "dilations"
        value {
          list {
            i: 1
            i: 1
            i: 1
            i: 1
          }
        }
      }
      attr {
        key: "explicit_paddings"
        value {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching_test.go

    	// TODO write test cases for name matching and exclude matching
    	testcases := []struct {
    		name string
    
    		criteria *v1.MatchResources
    		attrs    admission.Attributes
    
    		expectMatches       bool
    		expectMatchKind     schema.GroupVersionKind
    		expectMatchResource schema.GroupVersionResource
    		expectErr           string
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/tests/ops.mlir

    // -----
    
    // CHECK-LABEL: constant
    func.func @constant() -> (!tfr.attr, !tfr.attr, !tfr.attr, !tfr.attr) {
      %0 = tfr.constant f32 -> !tfr.attr
      %1 = tfr.constant [f32, i32] -> !tfr.attr
      %2 = "tfr.constant"() {value = f32} : () -> !tfr.attr
      %3 = "tfr.constant"() {value = [f32, i32]} : () -> !tfr.attr
      func.return %0, %1, %2, %3 : !tfr.attr, !tfr.attr, !tfr.attr, !tfr.attr
    }
    
    // -----
    
    // CHECK-LABEL: equal
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 14 22:15:06 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/debuginfo/v1_1.0_224_frozen.wrong_attr.line.part.pbtxt

      input: "MobilenetV1/Conv2d_0/weights/read"
      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "data_format"
        value {
          s: "NDHWC"
        }
      }
      attr {
        key: "dilations"
        value {
          list {
            i: 1
            i: 1
            i: 1
            i: 1
          }
        }
      }
      attr {
        key: "padding"
        value {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 27 18:59:05 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  10. tensorflow/cc/gradients/array_grad_test.cc

      GatherV2::Attrs attrs;
      attrs.batch_dims_ = 1;
      auto y = GatherV2(scope_, x, {{0}, {0}}, /*axis=*/1, attrs);
      TensorShape y_shape({2, 1});
      RunTest(x, shape, y, y_shape);
    }
    
    TEST_F(ArrayGradTest, GatherV2Grad_BatchDimWithAxis) {
      TensorShape shape({2, 1, 3});
      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape));
      GatherV2::Attrs attrs;
      attrs.batch_dims_ = 1;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 19.3K bytes
    - Viewed (0)
Back to top