Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for attr_value (0.13 sec)

  1. tensorflow/c/c_api.cc

      tensorflow::AttrValue attr_value;
      if (!attr_value.ParseFromArray(proto, proto_len)) {
        status->status = InvalidArgument("Unparseable AttrValue proto");
        return;
      }
    
      if (strcmp(attr_name, tensorflow::kColocationAttrName) == 0) {
        if (attr_value.value_case() != tensorflow::AttrValue::kList &&
            attr_value.value_case() != tensorflow::AttrValue::VALUE_NOT_SET) {
          status->status =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

    using ::tsl::StatusOr;
    
    namespace {
    
    bool IsOutputShapesAttribute(const AttrValue& attr_value,
                                 llvm::StringRef attr_name) {
      return attr_name.compare(kOutputShapesAttrName) == 0 &&
             attr_value.value_case() == AttrValue::kList;
    }
    
    bool IsResourceOutputShapesAttribute(const AttrValue& attr_value,
                                         llvm::StringRef attr_name) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

            break;
          }
          case ::tensorflow::AttrValue::kI:
            flex_builder->Int(key, attr.i());
            break;
          case ::tensorflow::AttrValue::kF:
            flex_builder->Float(key, attr.f());
            break;
          case ::tensorflow::AttrValue::kB:
            flex_builder->Bool(key, attr.b());
            break;
          case tensorflow::AttrValue::kList:
            if (attr.list().s_size() > 0) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

            else strides
        )
        strides_attr = attr_value_pb2.AttrValue(
            list=attr_value_pb2.AttrValue.ListValue(i=strides_to_check)
        )
    
        if enable_per_channel_quantization:
          quantized_axis_attr = attr_value_pb2.AttrValue(i=3)
          quantized_dim_size_attr = attr_value_pb2.AttrValue(
              list=attr_value_pb2.AttrValue.ListValue(
                  shape=[
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

        // value here because FunctionDef instantiation does not allow placeholder
        // value for attributes.
        AttrValue device_ordinal_attr;
        device_ordinal_attr.set_i(0);
        protobuf::Map<string, AttrValue> attrs;
        attrs["_device_ordinal"] = device_ordinal_attr;
        std::unique_ptr<FunctionBody> host_fbody;
        const FunctionDef* host_fdef = fld->Find(host_func);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

        }
        return false;
      }
      return EqualProtoMap<string, AttrValue>(
          a.attr(), b.attr(), [](const string& s) { return s; },
          [](const AttrValue& v) { return v.DebugString(); },
          [](const string& key, const AttrValue& av, const AttrValue& bv) {
            if (key == "ancestors") {
              // The ancestors are added from a set so the order is unpredictable;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

     */
        public static final int ATTR_SYSTEM     = 0x04;
    /**
     * A file with this bit on as returned by <tt>getAttributes()</tt> is
     * a volume
     */
        public static final int ATTR_VOLUME     = 0x08;
    /**
     * A file with this bit on as returned by <tt>getAttributes()</tt> is
     * a directory
     */
        public static final int ATTR_DIRECTORY  = 0x10;
    /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
Back to top