Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for compilation_result_ (0.29 sec)

  1. tensorflow/compiler/jit/device_compilation_cache_test.cc

      auto compilation_result2 = std::make_unique<XlaCompiler::CompilationResult>();
      auto executable1 = std::make_unique<FakeExecutable>("foo_exe");
      auto executable2 = std::make_unique<FakeExecutable>("bar_exe");
      cache->Store(key1, DeviceCompileState::kCompiled,
                   errors::InvalidArgument("Invalid argument."),
                   std::move(compilation_result1), std::move(executable1));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/device_compilation_cache.h

                  executable.get());
    
          int64_t hlo_module_size = 0;
          if (compilation_result != nullptr &&
              compilation_result->computation != nullptr) {
            hlo_module_size =
                compilation_result->computation->proto().ByteSizeLong();
          }
    
          return absl::StrCat(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/authentication/cel/mapper.go

    }
    
    // NewClaimsMapper returns a new ClaimsMapper.
    func NewClaimsMapper(compilationResults []CompilationResult) ClaimsMapper {
    	return &mapper{
    		compilationResults: compilationResults,
    	}
    }
    
    // NewUserMapper returns a new UserMapper.
    func NewUserMapper(compilationResults []CompilationResult) UserMapper {
    	return &mapper{
    		compilationResults: compilationResults,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 20:16:09 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/authorization/cel/matcher.go

    	va := map[string]interface{}{
    		"request": convertObjectToUnstructured(&r.Spec),
    	}
    	for _, compilationResult := range c.CompilationResults {
    		evalResult, _, err := compilationResult.Program.ContextEval(ctx, va)
    		if err != nil {
    			evalErrors = append(evalErrors, fmt.Errorf("cel evaluation error: expression '%v' resulted in error: %w", compilationResult.ExpressionAccessor.GetExpression(), err))
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/pjrt_compile_util.cc

        const std::vector<XlaCompiler::Argument>& args,
        DeviceCompileMode compile_mode, bool has_ref_vars,
        bool may_alias_resource_update, FunctionLibraryRuntime* flr,
        ResourceMgr* rm, const XlaCompiler::CompilationResult** compilation_result,
        xla::PjRtClient** client, xla::PjRtLoadedExecutable** executable) {
      PjRtDeviceCompiler* pjrt_device_compiler;
      DeviceCompilationProfiler* profiler;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/pjrt_compile_util_test.cc

          DeviceCompileMode::kStrict, /*has_ref_vars=*/true,
          /*may_alias_resource_update=*/true, device_setup.flr(), &resource_mgr,
          &compilation_result, &pjrt_client, &pjrt_executable));
    
      EXPECT_TRUE(compilation_result != nullptr);
      EXPECT_TRUE(pjrt_executable != nullptr);
      EXPECT_TRUE(pjrt_client != nullptr);
    }
    
    TEST(PjrtCompileUtilTest, CompileToPjRtLoadedExecutableWithOpKernelContext) {
      DeviceSetup device_setup;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 21 23:21:57 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/pjrt_compile_util.h

        const NameAttrList& function,
        const std::vector<XlaCompiler::Argument>& args,
        DeviceCompileMode compile_mode, bool has_ref_vars,
        bool may_alias_resource_update,
        const XlaCompiler::CompilationResult** compilation_result,
        xla::PjRtClient** client, xla::PjRtLoadedExecutable** executable);
    
    // Similar to the above function but it does not take a OpKernelContext.
    // Instead, it takes the following arguments that are obtained from
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_mlir.h

    // in the compilation_result.
    absl::StatusOr<std::string> CompileFromMlirToXlaHlo(
        bool lower_to_xla_hlo, const tpu::MlirToHloArgs& computation,
        const tpu::TPUCompileMetadataProto& metadata, llvm::StringRef device_type,
        const XlaShapeLayoutHelpers::ShapeDeterminationFns& shape_determination_fns,
        bool use_tuple_args, XlaCompiler::CompilationResult* compilation_result,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.h

        std::vector<tpu::ShardingAndIndex>* arg_core_mapping,
        std::vector<std::vector<xla::Shape>>* per_core_arg_shapes,
        xla::CompileOnlyClient* client,
        XlaCompiler::CompilationResult* compilation_result);
    
    }  // namespace v1
    }  // namespace tf2xla
    };  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/device_compiler_disable_test.cc

      }
    
      DisableXlaCompilation();
    
      xla::LocalClient* client = xla::ClientLibrary::LocalClientOrDie();
      DeviceType device_type = DeviceType(DEVICE_CPU_XLA_JIT);
    
      const XlaCompiler::CompilationResult* compilation_result;
      xla::LocalExecutable* executable;
    
      using XlaDeviceExecutablePersistor =
          DeviceExecutablePersistor<xla::LocalExecutable, xla::LocalClient>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top