Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for set_b (0.15 sec)

  1. tensorflow/compiler/jit/force_xla_constants_on_host_pass_test.cc

                                          {"Tperm", DT_INT32},
                                      }}},
                                    {{"c", "t0:y:0"}});
    
      AttrValue true_attribute;
      true_attribute.set_b(true);
      (*called_func.mutable_attr())[kXlaMustCompileAttr] = true_attribute;
      *library.add_function() = called_func;
      TF_ASSERT_OK(root.graph()->AddFunctionLibrary(library));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_kernel_creator_test.cc

      std::unique_ptr<FunctionLibraryDefinition> lib_def_;
      std::unique_ptr<ProcessFunctionLibraryRuntime> pflr_;
    
      std::unique_ptr<OpKernel> kernel_;
    };
    
    AttrValue BoolAttr(bool b) {
      AttrValue v;
      v.set_b(b);
      return v;
    }
    
    TEST_F(XlaKernelCreatorTest, OneFloatOneResourceArgument) {
      FunctionDef fdef = XTimesY();
      (*fdef.mutable_attr())["_XlaMustCompile"] = BoolAttr(true);
      Init({fdef});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 16 01:39:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. internal/logger/target/testlogger/testlogger.go

    // Call the returned function to disable logging.
    func (t *testLogger) SetLogTB(tb testing.TB) func() {
    	return t.setTB(tb, logMessage)
    }
    
    // SetErrorTB will set the logger to output to tb.Error.
    // Call the returned function to disable logging.
    func (t *testLogger) SetErrorTB(tb testing.TB) func() {
    	return t.setTB(tb, errorMessage)
    }
    
    // SetFatalTB will set the logger to output to tb.Panic.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/upgrade_graph.cc

                (*node_def.mutable_attr())["shared_name"].set_s(node_def.name());
              } else {
                // Use the concat of function name and node name for such ops in a
                // function as the shared_name. "@" is used as the separator because
                // it is not allowed in the function name or the node name.
                (*node_def.mutable_attr())["shared_name"].set_s(
                    absl::StrCat(node_def.name(), "@", func_name));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 14:33:47 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/analysis/tensor_array_side_effect_analysis.cc

    TensorArraySideEffectAnalysis::TensorArraySideEffectAnalysis(
        mlir::ModuleOp module) {
      for (auto func_op : module.getOps<mlir::func::FuncOp>()) {
        if (FunctionContainsOnlyNoSideEffectOpOrTensorArrayOp(func_op)) {
          set_.insert(func_op);
        }
      }
    }
    
    }  // namespace tfrt_compiler
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 16 01:49:07 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  6. tests/test_custom_route_class.py

    router_b = APIRouter(route_class=APIRouteB)
    router_c = APIRouter(route_class=APIRouteC)
    
    
    @router_a.get("/")
    def get_a():
        return {"msg": "A"}
    
    
    @router_b.get("/")
    def get_b():
        return {"msg": "B"}
    
    
    @router_c.get("/")
    def get_c():
        return {"msg": "C"}
    
    
    router_b.include_router(router=router_c, prefix="/c")
    router_a.include_router(router=router_b, prefix="/b")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. src/internal/bytealg/compare_ppc64x.s

    #else
    #define _LDBEX	MOVD
    #define _LWBEX	MOVW
    #define _LHBEX	MOVH
    #endif
    
    #ifdef GOPPC64_power9
    #define SETB_CR0(rout) SETB CR0, rout
    #define SETB_CR1(rout) SETB CR1, rout
    #define SETB_INIT()
    #define SETB_CR0_NE(rout) SETB_CR0(rout)
    #else
    // A helper macro to emulate SETB on P8. This assumes
    // -1 is in R20, and 1 is in R21. crxlt and crxeq must
    // also be the same CR field.
    #define _SETB(crxlt, crxeq, rout) \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:33:20 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/samples/java/modules-multi-project/README.adoc

    Java Modules are a feature of Java itself, available since Java 9, that allows for better encapsulation.
    
    In Gradle, each _source set_ containing Java sources can be turned into a module by adding a `module-info.java` file.
    Typically, in a project with Java Modules like this one, the _main_ source set of a subproject represents a module.
    
    ```
    src
    └── main
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. test/codegen/bool.go

    	// ppc64x:"RLDICL",-"CMPW",-"ISEL"
    	b := x&1 != 0
    	return c && b
    }
    
    func convertNeq0L(x uint32, c bool) bool {
    	// amd64:"ANDL\t[$]1",-"SETB"
    	// ppc64x:"RLDICL",-"CMPW",-"ISEL"
    	b := x&1 != 0
    	return c && b
    }
    
    func convertNeq0Q(x uint64, c bool) bool {
    	// amd64:"ANDL\t[$]1",-"SETB"
    	// ppc64x:"RLDICL",-"CMP",-"ISEL"
    	b := x&1 != 0
    	return c && b
    }
    
    func convertNeqBool32(x uint32) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 22:12:32 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/ppc64/anames.go

    	"SLBIA",
    	"SLBIE",
    	"SLBMFEE",
    	"SLBMFEV",
    	"SLBMTE",
    	"SLD",
    	"SLDCC",
    	"SRD",
    	"SRAD",
    	"SRADCC",
    	"SRDCC",
    	"EXTSWSLI",
    	"EXTSWSLICC",
    	"STDCCC",
    	"TD",
    	"SETB",
    	"DWORD",
    	"REMD",
    	"REMDU",
    	"HRFID",
    	"POPCNTD",
    	"POPCNTW",
    	"POPCNTB",
    	"CNTTZW",
    	"CNTTZWCC",
    	"CNTTZD",
    	"CNTTZDCC",
    	"COPY",
    	"PASTECC",
    	"DARN",
    	"MADDHD",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 18:50:29 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top