Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getHello (0.12 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/services/internal/DefaultBuildServicesRegistryTest.groovy

            given:
            def bean = services.get(ObjectFactory).newInstance(BeanWithBuildServiceProperty)
    
            expect:
            bean.getHello().getOrNull() == null
    
            when:
            registerService("helloService", NoParamsServiceImpl)
    
            then:
            bean.getHello().getOrNull() != null
        }
    
        def "stop action is called when the service is not created"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.cc

      delete counter;
    }
    
    TFE_MonitoringCounterCell* TFE_MonitoringGetCellCounter0(
        TFE_MonitoringCounter0* counter) {
      return static_cast<TFE_MonitoringCounterCell*>(
          static_cast<void*>(counter->counter->GetCell()));
    }
    
    TFE_MonitoringCounter1* TFE_MonitoringNewCounter1(const char* name,
                                                      TF_Status* status,
                                                      const char* description,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/input_lowering_metrics_pass.cc

          has_dynamic_op = true;
          dynamism_op_counter->GetCell(op->getName().getStringRef().str())
              ->IncrementBy(1);
        }
    
        return WalkResult::advance();
      });
    
      if (has_dynamic_op) {
        dynamism_function_counter->GetCell(kDynamicFunctionName)->IncrementBy(1);
      } else {
        dynamism_function_counter->GetCell(kNotDynamicFunctionName)->IncrementBy(1);
      }
    }
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 08:55:35 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc

            mlir_function_pass_fallback_count->GetCell(kFailure)->IncrementBy(1);
          } else if (pass_state == MlirOptimizationPassState::Enabled) {
            return pass_status;
          }
        } else {
          if (pass_state == MlirOptimizationPassState::FallbackEnabled) {
            mlir_function_pass_fallback_count->GetCell(kSuccess)->IncrementBy(1);
          }
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor.cc

    }
    
    tensorflow::Status RecordStatusIfError(absl::Status status) {
      if (status.ok()) {
        return absl::OkStatus();
      }
    
      tf_dialect_to_executor_dialect_status->GetCell(kExportFailed)->IncrementBy(1);
      VLOG(1) << "Failed to export from TF Dialect to TF Executor Dialect. "
              << status;
    
      constexpr char bridge_subcomponent[] =
          "TFXLA_TF_FUNCTIONAL_TO_EXECUTOR_EXPORT_v2";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc

          metadata, client, arg_core_mapping, per_core_arg_shapes, use_tuple_args,
          compilation_result);
      if (comp_status.ok()) {
        phase2_bridge_compilation_status->GetCell(kOldBridgeNoMlirSuccess)
            ->IncrementBy(1);
      } else {
        phase2_bridge_compilation_status->GetCell(kOldBridgeNoMlirFailure)
            ->IncrementBy(1);
      }
    
      return comp_status;
    }
    
    absl::Status CompileMLIRTFFunction(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 14K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf.cc

      auto op_name = op->getName();
      auto name_string = op_name.getStringRef().str();
      auto op_legality = OperationLegalityString(op, target);
    
      mlir_failed_legalization_count->GetCell(name_string, op_legality)
          ->IncrementBy(1);
    }
    
    mlir::LogicalResult ApplyPatterns(Operation *op, RewritePatternSet &patterns,
                                      bool legalize_chlo) {
      ConversionTarget target =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/test_matchers_test.cc

      ASSERT_THAT(failed(), Not(IsOkOrFiltered()));
    }
    
    TEST(TestUtil, MatchesFiltered) { ASSERT_THAT(filtered(), IsOkOrFiltered()); }
    
    TEST(TestUtil, IncrementsOk) {
      CellReader<int64_t> reader(kMetric);
      counter->GetCell(kOkStatus)->IncrementBy(1);
    
      ASSERT_THAT(success(), IncrementedOrFiltered(reader.Delta(kOkStatus), 1));
    }
    
    TEST(TestUtil, FilteredDoesntIncrementsOk) {
      CellReader<int64_t> reader(kMetric);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf.cc

        std::vector<std::vector<xla::Shape>>* per_core_arg_shapes,
        xla::CompileOnlyClient* client) {
      CompilationTimer timer;
      auto record_time = llvm::make_scope_exit([&timer] {
        phase2_bridge_compilation_time->GetCell(kFullBridge)
            ->Add(timer.ElapsedCyclesInMilliseconds());
      });
    
      auto compilation_result = std::make_unique<XlaCompilationResult>();
    
      DumpComputationInput(computation);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 00:40:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization.cc

      }
    
      void runOnOperation() override;
    };
    
    static void IncrementCounterFor(tensorflow::monitoring::Counter<1>* counter,
                                    Operation* op) {
      counter->GetCell(op->getName().getStringRef().str())->IncrementBy(1);
    }
    
    bool HasBounds(RankedTensorType type) {
      auto encoding = mlir::dyn_cast_or_null<mlir::mhlo::TypeExtensionsAttr>(
          type.getEncoding());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top