Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for value_str (0.21 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

            K key = (K) elements[i];
    
            Iterator<V> valueItr = valueIterators.get(key);
            if (valueItr == null) {
              valueIterators.put(key, valueItr = sampleValuesIterator());
            }
            entries[i] = mapEntry(key, valueItr.next());
          }
          return multimapGenerator.create((Object[]) entries).keys();
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/reader.cc

          io::JoinPath(export_dir, kSavedModelFilenamePbTxt);
      auto saved_model_pbtxt_exists =
          internal::FileExists(Env::Default(), saved_model_pbtxt_path);
      if (saved_model_pbtxt_exists.value_or(false)) {
        Status result = ReadTextProto(Env::Default(), saved_model_pbtxt_path,
                                      saved_model_proto);
        if (result.ok()) {
          metrics::SavedModelReadCount(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 00:19:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. tensorflow/cc/saved_model/image_format/internal_api.cc

      const std::string saved_model_pbtxt_path =
          absl::StrCat(file_prefix, ".pbtxt");
      auto saved_model_pbtxt_exists =
          internal::FileExists(Env::Default(), saved_model_pbtxt_path);
      if (saved_model_pbtxt_exists.value_or(false)) {
        absl::Status result = ReadTextProto(Env::Default(), saved_model_pbtxt_path,
                                            saved_model_proto);
        if (result.ok()) {
          metrics::SavedModelReadCount(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 30 21:50:27 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  4. tensorflow/cc/saved_model/metrics_test.cc

      SavedModelWritePathAndSingleprint().Set("bar");
      EXPECT_EQ(SavedModelWritePathAndSingleprint().value(), "bar");
    
      EXPECT_EQ(
          MakeSavedModelPathAndSingleprint("path", "singleprint").value_or(""),
          "path:singleprint");
    }
    
    TEST(MetricsTest, TestInvalidMakePathAndSingleprint) {
      EXPECT_THAT(MakeSavedModelPathAndSingleprint("", "singleprint"),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 23:43:59 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

          converted_attrs.push_back(attr);
        } else if (attr.getName() == op.getPaddingAttrName()) {
          auto value_or = ConvertPaddingAttr(op, dnums, rewriter);
          if (failed(value_or)) {
            return failure();
          }
          attr.setValue(*value_or);
          converted_attrs.push_back(attr);
        } else if (attr.getName() == op.getWindowStridesAttrName() ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

          quant_specs.default_ranges.second.has_value()) {
        pass_manager.addNestedPass<mlir::func::FuncOp>(
            mlir::TFL::CreateDefaultQuantParamsPass(
                quant_specs.default_ranges.first.value_or(0.0),
                quant_specs.default_ranges.second.value_or(0.0),
                quant_specs.IsSignedInferenceType()));
      }
      pass_manager.addNestedPass<mlir::func::FuncOp>(
          mlir::TFL::CreateQuantizePass(quant_specs));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

        if (!const_op) return std::nullopt;
    
        auto value_attr = const_op.getValue().dyn_cast<DenseIntElementsAttr>();
        if (!value_attr || value_attr.getNumElements() != 1) return std::nullopt;
    
        auto value_ty = value_attr.getType();
        if (!value_ty.hasRank() || value_ty.getRank() != expected_rank)
          return std::nullopt;
    
        auto splat = value_attr.getSplatValue<IntegerAttr>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  8. cmd/common-main.go

    		os.Setenv("CONSOLE_ANIMATED_LOGIN", value)
    	}
    
    	// Pass on the session duration environment variable, else we will default to 12 hours
    	if valueSts := env.Get(config.EnvMinioStsDuration, ""); valueSts != "" {
    		os.Setenv("CONSOLE_STS_DURATION", valueSts)
    	} else if valueSession := env.Get(config.EnvBrowserSessionDuration, ""); valueSession != "" {
    		os.Setenv("CONSOLE_STS_DURATION", valueSession)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf.cc

      auto op_name = op->getName();
      auto action = target.getOpAction(op_name);
      if (!action.has_value()) {
        return "Unknown";
      }
      switch (action.value_or(ConversionTarget::LegalizationAction::Legal)) {
        case ConversionTarget::LegalizationAction::Legal:
          return "Legal";
        case ConversionTarget::LegalizationAction::Dynamic:
          return "Dynamic";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

        }
      }
    
      if (!match_node) {
        return nullptr;
      }
    
      auto value_it = match_node->attr().find("value");
      if (value_it == match_node->attr().end()) {
        return nullptr;
      }
    
      if (!value_it->second.has_tensor()) {
        return nullptr;
      }
    
      return &value_it->second.tensor();
    }
    
    const TrackableObjectGraph::TrackableObject::SerializedTensor*
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top