Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 667 for allee (0.38 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/func_attr.mlir

      func.func @main() {
        tf_executor.graph {
          %control = tf_executor.island wraps "tf.NoOp"() {_f = #tf_type.func<@callee, {attr2 = true, attr3 = 8.0 : f32}>} : () -> ()
          %control_1 = tf_executor.island(%control) wraps "tf.LegacyCall"() {f = @callee} : () -> ()
          tf_executor.fetch
        }
        func.return
      }
      func.func @callee() attributes {tf._original_func_name = "original_callee"} {
        tf_executor.graph {
          tf_executor.fetch
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 16:41:06 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/exported_python_args.py

      @tf.function(input_signature=[tf.TensorSpec([], tf.float32)])
      def some_function(self, x):
        return self.callee(x)
    
      # CHECK: While importing SavedModel function 'callee': in input signature:
      # CHECK-SAME: Unhandled structured value kind {{.*}} at index path: <value>.1.foo
      @tf.function
      def callee(self, x, n={'foo': 42}):
        return x
    
    
    if __name__ == '__main__':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/resource_inlining.mlir

        %1 = "tf.StatefulPartitionedCall"(%0) {config = "", config_proto = "", executor_type = "", f = @callee} : (tensor<!tf_type.resource<tensor<f32>>>) -> tensor<f32>
        func.return %1 : tensor<f32>
      }
    
      // CHECK-NOT: func private @callee
      func.func private @callee(%arg0: tensor<!tf_type.resource>) -> tensor<*xf32> attributes {tf.signature.is_stateful} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:47:26 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc

      };
      if (!emplace_res.second) {
        // This callee was handled before.
        if (!info.signature_change) return success();
        return recreate_caller();
      }
      llvm::SmallDenseMap<Value, Value> callee_map;
      func::FuncOp lowered_callee = callee;
      if (!callee.isPrivate()) {
        // Clone non-private callee in case of signature change.
        lowered_callee = callee.clone();
        lowered_callee.setPrivate();
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  5. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/toplevelFunctionReferenceCallReference.kt

    fun callee(): Int {
        return 598
    }
    
    fun test() {
        (::<expr>callee</expr>)() + 45
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 87 bytes
    - Viewed (0)
  6. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/toplevelFunctionReferenceCallArg.kt

    fun callee(x: Int): Int {
        return 598 + x
    }
    
    fun test() {
        (::callee)(<expr>657</expr>) + 45
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 100 bytes
    - Viewed (0)
  7. test/abi/fuzz_trailing_zero_field.go

    	F2 S2
    	F3 uint64
    }
    
    type S2 struct {
    	F1 uint64
    	F2 empty
    }
    
    type empty struct {
    }
    
    //go:noinline
    //go:registerparams
    func callee(p0 S1) {
    	if p0 != p0exp {
    		panic("bad p0")
    	}
    }
    
    func main() {
    	callee(p0exp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 01 15:50:43 UTC 2021
    - 551 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

      }
    
      // Clone the callee before making changes.
      SmallString<64> name_base = callee.getName();
      auto module = callee->getParentOfType<ModuleOp>();
      name_base += "_resource_lifted";
      auto name = name_base;
      callee = callee.clone();
      callee.setPrivate();
      callee.setName(mlir::StringAttr::get(callee->getContext(), name));
      SymbolTable(module).insert(callee);
      result->lifted_callee = callee;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/call_graph_util.cc

        auto sym = mlir::dyn_cast<SymbolRefAttr>(attr.getValue());
        if (!sym) continue;
        auto callee = symtab.lookup<func::FuncOp>(sym.getRootReference());
        if (!callee) {
          // This is not expected to happen in practice.
          return op->emitError()
                 << "Cannot find function " << sym.getRootReference();
        }
        callees.push_back(callee);
      }
      return success();
    }
    
    bool HasSingleBlock(func::FuncOp func) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/test/testdata/pgo/devirtualize/devirt.go

    		// interfaces and implementations are mutually exclusive,
    		// devirtualization can still select the correct callee for
    		// each.
    		//
    		// If they were not mutually exclusive (for example, two Add
    		// calls), then we could not definitively select the correct
    		// callee.
    		val += m.Multiply(42, selectA(i).Add(one(i), 2))
    	}
    	return val
    }
    
    type AddFunc func(int, int) int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 18:17:57 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top