Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 237 for getPoint (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/mark_input_output_aliases.cc

              builder.getI64IntegerAttr(alias_info.output_index));
          continue;
        }
        // If aliasing attribute already exists, it must match the new value.
        assert(aliasing_attr.getInt() == alias_info.output_index);
      }
    }
    
    void MarkInputOutputAliasesPass::runOnOperation() {
      SmallVector<tf_device::ClusterFuncOp, 4> cluster_funcs;
      ModuleOp module = getOperation();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 04:14:26 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            if (obj == null) {
                value = defaultValue;
            } else {
                value = obj.toString();
            }
    
            return value;
        }
    
        public int getAsInt(final String key, final int defaultValue) {
            final Object obj = get(key);
    
            final int value;
            if (obj == null) {
                value = defaultValue;
            } else {
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

            count,
            getMultiset().count(element));
    
        int size = 0;
        for (Multiset.Entry<E> entry : getMultiset().entrySet()) {
          size += entry.getCount();
        }
        assertEquals(
            "multiset.size() should be the sum of the counts of all entries",
            size,
            getMultiset().size());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Serialization.java

        int entryCount = multiset.entrySet().size();
        stream.writeInt(entryCount);
        for (Multiset.Entry<E> entry : multiset.entrySet()) {
          stream.writeObject(entry.getElement());
          stream.writeInt(entry.getCount());
        }
      }
    
      /**
       * Populates a multiset by reading an input stream, as part of deserialization. See {@link
       * #writeMultiset} for the data format.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

        }
    
        for (auto i = 0; i < window_strides.size(); ++i) {
          window_strides_vec.push_back(
              window_strides.getValues<IntegerAttr>()[i].getInt());
        }
    
        for (auto i = 0; i < base_dilations.size(); ++i) {
          base_dilations_vec.push_back(
              base_dilations.getValues<IntegerAttr>()[i].getInt());
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/nms_utils.cc

      if (!int_attr) {
        return func.emitError()
               << attribute.c_str() << " attribute is not set or not an integer";
      }
      builder->Int(attribute.c_str(), int_attr.getInt());
      return success();
    }
    
    LogicalResult ConvertSSDPostProcessFunc::AddFloatAttr(
        func::FuncOp func, DictionaryAttr attrs, const std::string& attribute,
        flexbuffers::Builder* builder) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/utils/perception_ops_utils.cc

        if (!value) {
          return func->emitError()
                 << "'" << attr_name << "' attribute for " << kMaxUnpooling
                 << " does not contain integer values";
        }
        results->push_back(value.getInt());
      }
      return success();
    }
    
    }  // namespace
    
    LogicalResult ConvertMaxUnpoolingFunc::RewriteFunc() {
      func_.eraseBody();
      func_.addEntryBlock();
      func_->setAttr(kTFImplements,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

      mlir::IntegerAttr num_cores_per_replica_attr =
          cluster->getAttrOfType<mlir::IntegerAttr>(kNumCoresPerReplicaAttr);
      if (num_cores_per_replica_attr) {
        return num_cores_per_replica_attr.getInt();
      } else {
        return 1;
      }
    }
    
    // Get the TPUDevicesAndHosts for a cluster that is not replicated.
    mlir::LogicalResult GetTPUDevicesAndHostsNotReplicated(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.cc

      if (cost_recorder_ != nullptr) {
        const auto op_key_attr =
            op->getAttrOfType<mlir::IntegerAttr>(kOpKeyAttrName);
        if (op_key_attr) {
          cost_map_[op] = cost_recorder_->GetCost(op_key_attr.getInt());
          return;
        }
      }
    
      // These ops are cheap regardless of their input sizes.
      //
      // TODO(chky): Find a more scalable way to figure out cheap ops.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Serialization.java

        int entryCount = multiset.entrySet().size();
        stream.writeInt(entryCount);
        for (Multiset.Entry<E> entry : multiset.entrySet()) {
          stream.writeObject(entry.getElement());
          stream.writeInt(entry.getCount());
        }
      }
    
      /**
       * Populates a multiset by reading an input stream, as part of deserialization. See {@link
       * #writeMultiset} for the data format.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
Back to top